__construct()
addStaticMap()
getClassName()
getIterator()
getRegisteredPlugins()
isLoaded()
load()
registerPlugin()
registerPlugins()
unregisterPlugin()
$plugins
$staticMap
Plugin Class Loader implementation for HTTP headers
__construct(null | array | \Traversable $map)
| inherited_from | \Zend\Loader\PluginClassLoader::__construct() |
|---|
nullarray\TraversableIf provided, seeds the loader with a map
addStaticMap(null | array | \Traversable $map) : void
A null value will clear the static map.
| inherited_from | \Zend\Loader\PluginClassLoader::addStaticMap() |
|---|
nullarray\Traversable
\Zend\Loader\Exception\InvalidArgumentException |
|---|
getClassName(string $name) : string | false
| inherited_from | \Zend\Loader\PluginClassLoader::getClassName() |
|---|
string
stringfalse
getIterator() : \ArrayIterator
Returns an instance of ArrayIterator, containing a map of all plugins
| inherited_from | \Zend\Loader\PluginClassLoader::getIterator() |
|---|
getRegisteredPlugins() : array | \Traversable
| inherited_from | \Zend\Loader\PluginClassLoader::getRegisteredPlugins() |
|---|
array\Traversable
isLoaded(string $name) : bool
| inherited_from | \Zend\Loader\PluginClassLoader::isLoaded() |
|---|
string
boolload(string $name) : string | false
| inherited_from | \Zend\Loader\PluginClassLoader::load() |
|---|
string
stringfalse
registerPlugin(string $shortName, string $className) : \Zend\Loader\PluginClassLoader
| inherited_from | \Zend\Loader\PluginClassLoader::registerPlugin() |
|---|
string
string
registerPlugins(string | array | \Traversable $map) : \Zend\Loader\PluginClassLoader
If $map is a string, assumes that the map is the class name of a Traversable object (likely a ShortNameLocator); it will then instantiate this class and use it to register plugins.
If $map is an array or Traversable object, it will iterate it to register plugin names/classes.
For all other arguments, or if the string $map is not a class or not a Traversable class, an exception will be raised.
| inherited_from | \Zend\Loader\PluginClassLoader::registerPlugins() |
|---|
stringarray\Traversable
\Zend\Loader\Exception\InvalidArgumentException |
|---|
unregisterPlugin(mixed $shortName) : \Zend\Loader\PluginClassLoader
| inherited_from | \Zend\Loader\PluginClassLoader::unregisterPlugin() |
|---|
mixed
$plugins : array
$staticMap : array
| inherited_from | \Zend\Loader\PluginClassLoader::$$staticMap |
|---|