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
Input $input
Output $output
CommandBusInterface $bus
FileSystem $fileSystem
Config $config
CacheManager $cache
CryptoManager $crypto
ConnectionManager $database
Event $event
ErrorHandler $errorHandler
Authentication $gatekeeper
Humanizer $humanizer
I18n $i18n
LoggerInterface $logger
PaginationFactoryInterface $pagination
ConnectionManager $redis
Request $request
Response $response
Routes $routes
Session $session
Signer $signer
URLBuilder $urlBuilder
ValidatorFactory $validator
ViewFactory $view

Methods

setContainer(Container $container)

Sets the container instance.

mixed
__get(string $key)

Resolves item from the container using overloading.

Details

at line 67
setContainer(Container $container)

Sets the container instance.

Parameters

Container $container Container

at line 78
mixed __get(string $key)

Resolves item from the container using overloading.

Parameters

string $key Key

Return Value

mixed