Represents a PHP type-hinted service reference.
- author Nicolas Grekas
CloneableInstantiable
- Extends
- Implements
Stringable
Methods |
public __construct(string $id, string $type, int $invalidBehavior = 1Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE, ?string $name = NULL, array $attributes = [])
|
public getAttributes() : array |
public getName() : ?string |
public getType() : string |
Properties |
private array $attributes |
private ?string $name |
private string $type |