Documentation

SubscribedService
in package

FinalYes

Use with {@see ServiceSubscriberTrait} to mark a method's return type as a subscribed service.

Tags
author

Kevin Bond kevinbond@gmail.com

Attributes
#[Attribute]
\Attribute::TARGET_METHOD

Table of Contents

Properties

$key  : string|null

Methods

__construct()  : mixed

Properties

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"


        
On this page

Search results