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