creates an instance of this class with the data loaded from a file.
public static createFromFile ( string $filename ) : |
||
$filename | string | eg: __DIR__ . '/../../configuration.yaml' |
return | an instance of YAML with the data read from the file |