You are here

public function Reference::__toString in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/dependency-injection/Reference.php \Symfony\Component\DependencyInjection\Reference::__toString()

__toString.

Return value

string The service identifier

File

vendor/symfony/dependency-injection/Reference.php, line 46

Class

Reference
Reference represents a service reference.

Namespace

Symfony\Component\DependencyInjection

Code

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