Class AbstractConfigFactory

 Methods

addPattern()

addPattern(string $pattern) : \Zend\Config\self

Parameters

$pattern

string

Exceptions

\Zend\Config\Exception\InvalidArgumentException

Returns

\Zend\Config\self

addPatterns()

addPatterns(array | \Traversable $patterns) : \Zend\Config\self

Parameters

$patterns

array\Traversable

Exceptions

\Zend\Config\Exception\InvalidArgumentException

Returns

\Zend\Config\self

Determine if we can create a service with name

canCreateServiceWithName(\Zend\ServiceManager\ServiceLocatorInterface $serviceLocator, string $name, string $requestedName) : bool

Parameters

$name

string

$requestedName

string

Returns

bool

Create service with name

createServiceWithName(\Zend\ServiceManager\ServiceLocatorInterface $serviceLocator, string $name, string $requestedName) : string | mixed | array

Parameters

$name

string

$requestedName

string

Returns

stringmixedarray

getPatterns()

getPatterns() : array

Returns

array

setPatterns()

setPatterns(array | \Traversable $patterns) : \Zend\Config\self

Parameters

$patterns

array\Traversable

Exceptions

\InvalidArgumentException

Returns

\Zend\Config\self

match()

match(string $requestedName) : null | string

Parameters

$requestedName

string

Returns

nullstring

 Properties

 

$configs

$configs : array

 

$defaultPatterns

$defaultPatterns : string[]

 

$patterns

$patterns : string[]