__toString.
Return value
string The service identifier
File
- drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Reference.php, line 48
Class
- Reference
- Reference represents a service reference.
Namespace
Symfony\Component\DependencyInjection
Code
public function __toString() {
return (string) $this->id;
}