protected function ProjectServiceContainer::getFactoryServiceService

Gets the 'factory_service' service.

This service is shared. This method always returns the same instance of the service.

Return value

Object An instance returned by foo.baz::getInstance().

File

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

Class

ProjectServiceContainer
ProjectServiceContainer

Code

protected function getFactoryServiceService() {
  return $this->services['factory_service'] = $this
    ->get('foo.baz')
    ->getInstance();
}