protected function ProjectServiceContainer::synchronizeRequestService in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/dependency-injection/Tests/Fixtures/php/services20.php \ProjectServiceContainer::synchronizeRequestService()
Updates the 'request' service.
File
- vendor/
symfony/ dependency-injection/ Tests/ Fixtures/ php/ services20.php, line 67
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));
}
}