You are here

public function Reference::__toString in Service Container 7

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

__toString.

Return value

string The service identifier

File

modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Reference.php, line 48

Class

Reference
Reference represents a service reference.

Namespace

Symfony\Component\DependencyInjection

Code

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