protected function ProjectServiceContainer::synchronizeRequestService

Updates the 'request' service.

File

drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services9.php, line 221

Class

ProjectServiceContainer
ProjectServiceContainer

Code

protected function synchronizeRequestService() {
  if ($this
    ->initialized('depends_on_request')) {
    $this
      ->get('depends_on_request')
      ->setRequest($this
      ->get('request', ContainerInterface::NULL_ON_INVALID_REFERENCE));
  }
}