PHP Class Autarky\Config\Loaders\PhpFileLoader

Works with PHP files which declare a file-wide "return" statement which returns an associative array.
Inheritance: implements Autarky\Config\LoaderInterface
Show file Open project: autarky/framework

Public Methods

Method Description
load ( $path )

Protected Methods

Method Description
requireFile ( string $_path ) : mixed Require a file and return the result.

Method Details

load() public method

public load ( $path )

requireFile() protected static method

Static method to make it impossible to reference $this in the file.
protected static requireFile ( string $_path ) : mixed
$_path string
return mixed