For use as the return value for {@see ServiceSubscriberInterface}.
- example new SubscribedService('http_client', HttpClientInterface::class, false, new Target('githubApi')) Use with {@see \ServiceMethodsSubscriberTrait} to mark a method's return type as a subscribed service.
- author Kevin Bond
- attribute Attribute ( 4)
CloneableFinalInstantiable
- Attributes
Attribute ( 4)
Properties |
public array $attributes
|
public ?string $key |
public bool $nullable |
public ?string $type |
Methods |
public __construct(?string $key = NULL, ?string $type = NULL, bool $nullable = false, object|array $attributes = [])
|