PHP Interface ManaPHP\LoaderInterface

Afficher le fichier Open project: manaphp/manaphp

Méthodes publiques

Méthode Description
registerClasses ( array $classes, boolean $merge = true ) : static Register classes and their locations
registerNamespaces ( array $namespaces, boolean $merge = true ) : static Register namespaces and their related directories

Method Details

registerClasses() public méthode

Register classes and their locations
public registerClasses ( array $classes, boolean $merge = true ) : static
$classes array
$merge boolean
Résultat static

registerNamespaces() public méthode

$loader->registerNamespaces(array( ’Example\\Base’ => ’vendor/example/base/’, ’Example\\Adapter’ => ’vendor/example/adapter/’, ’Example’ => ’vendor/example/’ ));
public registerNamespaces ( array $namespaces, boolean $merge = true ) : static
$namespaces array
$merge boolean
Résultat static