Fully Qualified Name: | Zend\Navigation\Service\NavigationAbstractServiceFactory |
Implements: | AbstractFactoryInterface |
Navigation abstract service factory
Allows configuring several navigation instances. If you have a navigation config key named "special" then you can use $container->get('Zend\Navigation\Special') to retrieve a navigation instance with this configuration.
Name | Description | Defined By |
---|---|---|
__invoke() | {@inheritDoc} | NavigationAbstractServiceFactory |
canCreate() | Can we create a navigation by the requested name? (v3) | NavigationAbstractServiceFactory |
canCreateServiceWithName() | Can we create a navigation by the requested name? (v2) | NavigationAbstractServiceFactory |
createServiceWithName() | Can we create a navigation by the requested name? (v2) | NavigationAbstractServiceFactory |
{@inheritDoc}
Parameter Name | Type | Description |
---|---|---|
$container | ||
$requestedName | ||
$options |
Returns: \Navigation
Can we create a navigation by the requested name? (v3)
Parameter Name | Type | Description |
---|---|---|
$container | \ContainerInterface | |
$requestedName | string | Name |
Returns: bool
Can we create a navigation by the requested name? (v2)
Parameter Name | Type | Description |
---|---|---|
$container | \ServiceLocatorInterface | |
$name | string | Normalized |
$requestedName | string | Name |
Returns: bool
Can we create a navigation by the requested name? (v2)
Parameter Name | Type | Description |
---|---|---|
$container | \ServiceLocatorInterface | |
$name | string | Normalized |
$requestedName | string | Name |
Returns: \Navigation