App::getContainer

Usage

ApexContainerInterface App::getContainer()

Description


Return Value

An instance of the PSR11 container. Useful if you need the container within static methods.

Examples

Get Container


$cntr = $app->getContainer();

See Also