Zend\Mvc\Router\RoutePluginManager::createFromInvokable
Attempt to create an instance via an invokable class.
Overrides parent implementation by invoking the route factory, passing $creationOptions as the argument.
Signature
protected function createFromInvokable(string
$canonicalName,
string
$requestedName )
Parameters
$canonicalName
— string$requestedName
— string
Returns
- stdClass
Errors/Exceptions
-
RuntimeException
- If resolved class does not exist, or does not implement RouteInterface