protected function ProjectServiceContainer::getAliasForFooService

Gets the alias_for_foo service alias.

Return value

FooClass An instance of the foo service

File

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

Class

ProjectServiceContainer
ProjectServiceContainer

Code

protected function getAliasForFooService() {
  return $this
    ->get('foo');
}