Skip to content

Commit 3a6e6bf

Browse files
committed
keySet() method
1 parent 5fb71ae commit 3a6e6bf

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/System/SysProperties.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,4 +93,16 @@ public function size(): int {
9393
$properties = $this->getProperties();
9494
return \count($properties);
9595
}
96+
97+
/**
98+
* @return array
99+
* @throws FileNotFoundException
100+
* @throws InvalidPropertyStructureException
101+
* @throws NoPathException
102+
*/
103+
public function keySet(): array {
104+
$array = $this->getProperties();
105+
$array = \array_keys($array);
106+
return $array;
107+
}
96108
}

0 commit comments

Comments
 (0)