Abstract navigation factory

 Methods

Create service

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

getName()

getName() : string

abstract

Returns

string

getPages()

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

getPagesFromConfig()

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

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) : mixed

Parameters

$pages

array

Returns

mixed

preparePages()

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

 Properties

 

$pages

$pages : array