public function HtmlPageController::setContainer

Injects the service container used by this object.

Parameters

\Symfony\Component\DependencyInjection\ContainerInterface $container: The service container this object should use.

Overrides ContainerAwareInterface::setContainer

File

drupal/core/lib/Drupal/Core/HtmlPageController.php, line 33
Definition of Drupal\Core\HtmlPageController.

Class

HtmlPageController
Default controller for most HTML pages.

Namespace

Drupal\Core

Code

public function setContainer(ContainerInterface $container = NULL) {
  $this->container = $container;
}