Zend\Loader\PluginClassLoader::registerPlugins
Register many plugins at once
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.
Signature
public function registerPlugins(string|array|Traversable
$map )
Parameters
$map
— object
Returns
- PluginClassLoader