Property | Type | Description | |
---|---|---|---|
$filename | string | Path to file to parse |
Method | Description | |
---|---|---|
instance ( $filename = null ) : |
||
resetInstances ( ) | For tests purpose only! |
Method | Description | |
---|---|---|
__construct ( $filename ) | Use singleton, instead of calling new Options(), use Options::instance() | |
loadYaml ( string $filename ) : mixed | ||
parseSimpleArray ( string $filename, string $mainKey ) : array |
abstract protected __construct ( $filename ) |
public static instance ( $filename = null ) : |
||
return |