class Reference
Reference represents a service reference.
__construct(string $id, int $invalidBehavior = ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE) Constructor. | ||
string | __toString() __toString. | |
int | getInvalidBehavior() Returns the behavior to be used when the service does not exist. |
Constructor.
__toString.
Returns the behavior to be used when the service does not exist.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Component/DependencyInjection/Reference.html