Class PhpFileLoader
PHP file config loader.
Works with PHP files which declare a file-wide "return" statement which
returns an associative array.
-
Autarky\Config\Loaders\PhpFileLoader
implements
Autarky\Config\LoaderInterface
Methods summary
public
array
|
#
load( string $path )
Load a config resource.
Parameters
Returns
array
Throws
RuntimeException If location does not contain valid data
Implementation of
|
protected static
mixed
|
#
requireFile( string $_path )
Require a file and return the result.
Require a file and return the result.
Static method to make it impossible to reference $this in the file.
Parameters
Returns
mixed
|