protected function ProjectServiceContainer::getTestService in Service Container 7
Same name in this branch
- 7 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services12.php \ProjectServiceContainer::getTestService()
- 7 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services10.php \ProjectServiceContainer::getTestService()
Same name and namespace in other branches
- 7.2 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services12.php \ProjectServiceContainer::getTestService()
- 7.2 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services10.php \ProjectServiceContainer::getTestService()
Gets the 'test' service.
This service is shared. This method always returns the same instance of the service.
Return value
\stdClass A stdClass instance.
File
- modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ Tests/ Fixtures/ php/ services12.php, line 61
Class
- ProjectServiceContainer
- ProjectServiceContainer.
Code
protected function getTestService() {
return $this->services['test'] = new \stdClass('wiz' . $this->targetDirs[1], array(
'wiz' . $this->targetDirs[1] => $this->targetDirs[2] . '/',
));
}