Reference
in package
Reference represents a service reference.
Tags
Table of Contents
- $id : mixed
- $invalidBehavior : mixed
- __construct() : mixed
- __toString() : string
- getInvalidBehavior() : int
- Returns the behavior to be used when the service does not exist.
Properties
$id
private
mixed
$id
$invalidBehavior
private
mixed
$invalidBehavior
Methods
__construct()
public
__construct(string $id[, int $invalidBehavior = ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE ]) : mixed
Parameters
- $id : string
- $invalidBehavior : int = ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE
Return values
mixed —__toString()
public
__toString() : string
Return values
string —getInvalidBehavior()
Returns the behavior to be used when the service does not exist.
public
getInvalidBehavior() : int