SubscribedService
in package
FinalYes
Use with {@see ServiceSubscriberTrait} to mark a method's return type as a subscribed service.
Tags
Attributes
- #[Attribute]
- \Attribute::TARGET_METHOD
Table of Contents
Properties
- $key : string|null
Methods
- __construct() : mixed
Properties
$key
public
string|null
$key
= null
Methods
__construct()
public
__construct([string|null $key = null ]) : mixed
Parameters
- $key : string|null = null
-
The key to use for the service If null, use "ClassName::methodName"