trait ContainerAwareTrait

Container aware trait.

Properties

protected Container $container Container.
protected array $resolved Array of resolved objects and/or references to resolved objects.
Application $app
CacheManager $cache
Input $input
Output $output
CommandBusInterface $bus
Config $config
ConnectionManager $database
ErrorHandler $errorHandler
Event $event
FileSystem $fileSystem
AuthorizerInterface $authorizer
Gatekeeper $gatekeeper
Request $request
Response $response
Routes $routes
URLBuilder $urlBuilder
I18n $i18n
PaginationFactoryInterface $pagination
ConnectionManager $redis
CryptoManager $crypto
Signer $signer
Session $session
Humanizer $humanizer
ValidatorFactory $validator
ViewFactory $view
LoggerInterface $logger

Methods

setContainer(Container $container)

Sets the container instance.

mixed
__get(string $key)

Resolves item from the container using overloading.

Details

at line 68
setContainer(Container $container)

Sets the container instance.

Parameters

Container $container Container

at line 79
mixed __get(string $key)

Resolves item from the container using overloading.

Parameters

string $key Key

Return Value

mixed