Constructed factory to set pages during construction.
__construct(string | \Zend\Config\Config | array $config)
string\Zend\Config\Configarray
createService(\Zend\ServiceManager\ServiceLocatorInterface $serviceLocator) : \Zend\Navigation\Navigation
inherited_from | \Zend\Navigation\Service\AbstractNavigationFactory::createService() |
---|
\Zend\ServiceManager\ServiceLocatorInterface
getName() : string
string
getPages(\Zend\ServiceManager\ServiceLocatorInterface $serviceLocator) : array | null | \Zend\Config\Config
\Zend\ServiceManager\ServiceLocatorInterface
\Zend\Navigation\Exception\InvalidArgumentException |
---|
getPagesFromConfig(string | \Zend\Config\Config | array $config) : array | null | \Zend\Config\Config
inherited_from | \Zend\Navigation\Service\AbstractNavigationFactory::getPagesFromConfig() |
---|
string\Zend\Config\Configarray
\Zend\Navigation\Exception\InvalidArgumentException |
---|
injectComponents(array $pages, \Zend\Mvc\Router\RouteMatch $routeMatch, \Zend\Mvc\Router\RouteStackInterface $router, null | \Zend\Http\Request $request) : array
inherited_from | \Zend\Navigation\Service\AbstractNavigationFactory::injectComponents() |
---|
array
\Zend\Mvc\Router\RouteMatch
null\Zend\Http\Request
array
preparePages(\Zend\ServiceManager\ServiceLocatorInterface $serviceLocator, array | \Zend\Config\Config $pages) : null | array
inherited_from | \Zend\Navigation\Service\AbstractNavigationFactory::preparePages() |
---|
\Zend\ServiceManager\ServiceLocatorInterface
array\Zend\Config\Config
\Zend\Navigation\Exception\InvalidArgumentException |
---|
null
array
$pages : array
inherited_from | \Zend\Navigation\Service\AbstractNavigationFactory::$$pages |
---|