Symfony\Component\DependencyInjection\Reference::__construct
Constructor.
Signature
public function __construct(string
$id,
[int
$invalidBehavior = ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE,
[Boolean
$strict = true]] )
Parameters
$id
— string- The service identifier
$invalidBehavior
— int- The behavior when the service does not exist
$strict
— object- Sets how this reference is validated