Class ConstructedNavigationFactory

Summary

Fully Qualified Name: Zend\Navigation\Service\ConstructedNavigationFactory
Extends: AbstractNavigationFactory

Description

Constructed factory to set pages during construction.

Methods

Name Description Defined By
__construct() ConstructedNavigationFactory
__invoke() Create and return a new Navigation instance (v3). AbstractNavigationFactory
createService() Create and return a new Navigation instance (v2). AbstractNavigationFactory
getName() ConstructedNavigationFactory
getPages() ConstructedNavigationFactory

Method Details

__construct()

Parameter Name Type Description
$config string|\Zend\Config\Config|array

Returns:

__invoke()

Create and return a new Navigation instance (v3).

Parameter Name Type Description
$container \ContainerInterface
$requestedName string
$options null|array

Returns: \Navigation

createService()

Create and return a new Navigation instance (v2).

Parameter Name Type Description
$container \ServiceLocatorInterface
$name null|string
$requestedName null|string

Returns: \Navigation

getName()

Returns: string

getPages()

Parameter Name Type Description
$container \ContainerInterface

Returns: array|null|\Zend\Config\Config

Top