class ConfigContainer implements ConfigInterface

Class ConfigContainer.

Traits

Class ContainerAwareTrait.

Methods

setContainer( ContainerInterface $container = null)

Sets the container.

ContainerInterface
getContainer()

Getter for container property.

bool
hasContainer()

Checker for container property.

mixed
getContainerParameter( string $parameter)

Get a parameter from the container.

bool
hasContainerParameter( string $parameter)

Checks if the container parameter exists.

mixed
getContainerService( string $service)

Get a service from the container.

bool
hasContainerService( string $service)

Checks if the container service exists.

__construct( ContainerInterface $container)

No description

null|mixed
get( string $parameterId)

No description

bool
has( string $parameterId)

No description

Details

in ContainerAwareTrait at line line 34
setContainer( ContainerInterface $container = null)

Sets the container.

Parameters

ContainerInterface $container

in ContainerAwareTrait at line line 44
ContainerInterface getContainer()

Getter for container property.

Return Value

ContainerInterface

in ContainerAwareTrait at line line 54
bool hasContainer()

Checker for container property.

Return Value

bool

in ContainerAwareTrait at line line 68
mixed getContainerParameter( string $parameter)

Get a parameter from the container.

Parameters

string $parameter

Return Value

mixed

Exceptions

InvalidContainerParameterException

in ContainerAwareTrait at line line 86
bool hasContainerParameter( string $parameter)

Checks if the container parameter exists.

Parameters

string $parameter

Return Value

bool

in ContainerAwareTrait at line line 100
mixed getContainerService( string $service)

Get a service from the container.

Parameters

string $service

Return Value

mixed

Exceptions

InvalidContainerServiceException

in ContainerAwareTrait at line line 118
bool hasContainerService( string $service)

Checks if the container service exists.

Parameters

string $service

Return Value

bool

at line line 28
__construct( ContainerInterface $container)

Parameters

ContainerInterface $container

at line line 38
null|mixed get( string $parameterId)

Parameters

string $parameterId

Return Value

null|mixed

at line line 52
bool has( string $parameterId)

Parameters

string $parameterId

Return Value

bool