The injection container that should be injected into all controllers.
Type: Symfony\Component\DependencyInjection\ContainerInterface
File
- drupal/core/lib/Drupal/Core/Controller/ControllerResolver.php, line 37
- Contains \Drupal\Core\Controller\ControllerResolver.
Class
- ControllerResolver
- ControllerResolver to enhance controllers beyond Symfony's basic handling.
Namespace
Drupal\Core\Controller
Code
protected $container;