protected function ProjectServiceContainer::getTestService in Zircon Profile 8
Same name in this branch
- 8 vendor/symfony/dependency-injection/Tests/Fixtures/php/services12.php \ProjectServiceContainer::getTestService()
- 8 vendor/symfony/dependency-injection/Tests/Fixtures/php/services10.php \ProjectServiceContainer::getTestService()
Same name and namespace in other branches
- 8.0 vendor/symfony/dependency-injection/Tests/Fixtures/php/services12.php \ProjectServiceContainer::getTestService()
- 8.0 vendor/symfony/dependency-injection/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
- vendor/
symfony/ dependency-injection/ 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] . '/',
));
}