canCreateServiceWithName()
createServiceWithName()
getConfig()
getConfigName()
$config
CONFIG_KEY
NAME_PREFIX
SERVICE_PREFIX
Navigation abstract service factory
Allows configuring several navigation instances. If you have a navigation config key named "special" then you can use $serviceLocator->get('Zend\Navigation\Special') to retrieve a navigation instance with this configuration.
canCreateServiceWithName(\Zend\ServiceManager\ServiceLocatorInterface $serviceLocator, string $name, string $requestedName) : bool
\Zend\ServiceManager\ServiceLocatorInterface
string
Service name (as resolved by ServiceManager)
string
Name by which service was requested, must start with Zend\Navigation\
bool
createServiceWithName(\Zend\ServiceManager\ServiceLocatorInterface $serviceLocator, string $name, string $requestedName) : \Zend\Navigation\Navigation
\Zend\ServiceManager\ServiceLocatorInterface
string
Service name (as resolved by ServiceManager)
string
Name by which service was requested
getConfig(\Zend\ServiceManager\ServiceLocatorInterface $services) : array
getConfigName(string $name) : string
string
string
$config : array
CONFIG_KEY : string
NAME_PREFIX
SERVICE_PREFIX : string