class Reference
Reference represents a service reference.
Methods
|
__construct(string $id, int $invalidBehavior = ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE, Boolean $strict = true)
Constructor. |
||
| string |
__toString()
__toString. |
|
| int |
getInvalidBehavior()
Returns the behavior to be used when the service does not exist. |
|
| Boolean |
isStrict()
Returns true when this Reference is strict |
Details
at line 36
public
__construct(string $id, int $invalidBehavior = ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE, Boolean $strict = true)
Constructor.
at line 48
public string
__toString()
__toString.
at line 58
public int
getInvalidBehavior()
Returns the behavior to be used when the service does not exist.
at line 68
public Boolean
isStrict()
Returns true when this Reference is strict