Default navigation factory.

 Methods

Create service

createService(\Zend\ServiceManager\ServiceLocatorInterface $serviceLocator) : \Zend\Navigation\Navigation
Inherited

inherited_from \Zend\Navigation\Service\AbstractNavigationFactory::createService()

Parameters

Returns

getName()

getName() : string

Returns

string

getPages()

getPages(\Zend\ServiceManager\ServiceLocatorInterface $serviceLocator) : array
Inherited

inherited_from \Zend\Navigation\Service\AbstractNavigationFactory::getPages()

Parameters

Exceptions

\Zend\Navigation\Exception\InvalidArgumentException

Returns

array

getPagesFromConfig()

getPagesFromConfig(string | \Zend\Config\Config | array $config) : array | null | \Zend\Config\Config
Inherited

inherited_from \Zend\Navigation\Service\AbstractNavigationFactory::getPagesFromConfig()

Parameters

$config

string\Zend\Config\Configarray

Exceptions

\Zend\Navigation\Exception\InvalidArgumentException

Returns

injectComponents()

injectComponents(array $pages, \Zend\Mvc\Router\RouteMatch $routeMatch, \Zend\Mvc\Router\RouteStackInterface $router, null | \Zend\Http\Request $request) : mixed
Inherited

inherited_from \Zend\Navigation\Service\AbstractNavigationFactory::injectComponents()

Parameters

$pages

array

$request

null\Zend\Http\Request

Returns

mixed

preparePages()

preparePages(\Zend\ServiceManager\ServiceLocatorInterface $serviceLocator, array | \Zend\Config\Config $pages) 
Inherited

inherited_from \Zend\Navigation\Service\AbstractNavigationFactory::preparePages()

Parameters

$pages

array\Zend\Config\Config

Exceptions

\Zend\Navigation\Exception\InvalidArgumentException

 Properties

 

$pages

$pages : array
Inherited

inherited_from \Zend\Navigation\Service\AbstractNavigationFactory::$$pages