ContainerAwareTrait
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 | ||
| Logger | $logger |
Methods
mixed
__get(string $key)
Resolves item from the container using overloading.
Details
at line 66
setContainer(Container $container)
Sets the container instance.
at line 77
mixed
__get(string $key)
Resolves item from the container using overloading.