Beta version

interface ContainerAwareInterface

Interface ContainerAwareInterface.

Methods

Container
getContainer()

No description

setContainer(Container $container)

No description

mixed
get(string $serviceName)

Return a service from container.

bool
has(string $serviceName)

Returns true if the service is defined.

Details

at line 44
Container getContainer()

Return Value

Container

at line 50
ContainerAwareInterface setContainer(Container $container)

Parameters

Container $container

Return Value

ContainerAwareInterface

at line 58
mixed get(string $serviceName)

Return a service from container.

Parameters

string $serviceName

Return Value

mixed

at line 66
bool has(string $serviceName)

Returns true if the service is defined.

Parameters

string $serviceName

Return Value

bool true if the service is defined, false otherwise