ContainerAwareTrait
Defines the trait for a Container Aware Class.
since |
1.2 |
---|---|
package |
Joomla Framework |
Methods
getContainer
Get the DI container.
getContainer() : \Joomla\DI\Container
since |
1.2 |
---|---|
throws |
|
Response
\Joomla\DI\Container
setContainer
Set the DI container.
setContainer(\Joomla\DI\Container container) : $this
since |
1.2 |
---|
Arguments
- container
\Joomla\DI\Container
The DI container.
Response
$this
Properties
container
DI Container
since |
1.2 |
---|
Type(s)
\Joomla\DI\Container