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
Afficher le fichier Open project: autarky/framework

Méthodes publiques

Méthode Description
load ( $path )

Méthodes protégées

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

Method Details

load() public méthode

public load ( $path )

requireFile() protected static méthode

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