class Reference

Reference represents a service reference.

Methods

__construct(string $id, int $invalidBehavior = ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE)

No description

string
__toString()

No description

int
getInvalidBehavior()

Returns the behavior to be used when the service does not exist.

Details

at line line 30
__construct(string $id, int $invalidBehavior = ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE)

Parameters

string $id The service identifier
int $invalidBehavior The behavior when the service does not exist

See also

Container

at line line 39
string __toString()

Return Value

string The service identifier

at line line 49
int getInvalidBehavior()

Returns the behavior to be used when the service does not exist.

Return Value

int