Reference represents a service reference.
- author Fabien Potencier
Cloneable
Instantiable
- Children
-
Implements
Stringable
Methods |
public __construct ( string $id , int $invalidBehavior = 1 Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE) |
public __toString () : string |
public
getInvalidBehavior
() :
int
Returns the behavior to be used when the service does not exist. |
Properties |
private string $id |
private int $invalidBehavior |