Zend\ServiceManager\AbstractPluginManager::createFromFactory
Attempt to create an instance via a factory class
Overrides parent implementation by passing $creationOptions to the constructor, if non-null.
Signature
protected function createFromFactory(string
$canonicalName,
string
$requestedName )
Parameters
$canonicalName
— string$requestedName
— string
Returns
- mixed
Errors/Exceptions
-
ServiceNotCreatedException
- If factory is not callable