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