You are here

public function Alias::__toString in Service Container 7

Same name and namespace in other branches
  1. 7.2 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Alias.php \Symfony\Component\DependencyInjection\Alias::__toString()

Returns the Id of this alias.

@api

Return value

string The alias id

File

modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Alias.php, line 67

Class

Alias
@api

Namespace

Symfony\Component\DependencyInjection

Code

public function __toString() {
  return $this->id;
}