Autoloader
in package
implements
AutoloaderInterface
Table of Contents
Interfaces
- AutoloaderInterface
- Basic autoloader utilities required to work with proxy files
Properties
- $classNameInflector : mixed
- $fileLocator : mixed
Methods
- __construct() : mixed
- __invoke() : bool
- Callback to allow the object to be handled as autoloader - tries to autoload the given class name
Properties
$classNameInflector
protected
mixed
$classNameInflector
$fileLocator
protected
mixed
$fileLocator
Methods
__construct()
public
__construct(FileLocatorInterface $fileLocator, ClassNameInflectorInterface $classNameInflector) : mixed
Parameters
- $fileLocator : FileLocatorInterface
- $classNameInflector : ClassNameInflectorInterface
__invoke()
Callback to allow the object to be handled as autoloader - tries to autoload the given class name
public
__invoke(string $className) : bool
Parameters
- $className : string