Defines an interface for classes that may register with the spl_autoload registry
__construct(null | array | \Traversable $options)
Allow configuration of the autoloader via the constructor.
nullarray\Traversable
autoload($class) : mixed
mixed
False [if unable to load $class] get_class($class) [if $class is successfully loaded]register() : void
Typically, the body of this will simply be:
spl_autoload_register(array($this, 'autoload'));
setOptions(array | \Traversable $options) : \Zend\Loader\SplAutoloader
In most cases, $options should be either an associative array or Traversable object.
array\Traversable