Final Class Yiisoft\HttpMiddleware\TagRequest\TagProvider\PrefixedTagProvider
| Inheritance | Yiisoft\ |
|---|---|
| Implements | Yiisoft\ |
A tag provider that prefixes the result of a decorated tag provider with a specified string.
Public Methods
| Method | Description | Defined By |
|---|---|---|
| __construct() | Yiisoft\ |
|
| get() | Yiisoft\ |
Method Details
| public mixed __construct ( string $prefix, Yiisoft\ | ||
| $prefix | string |
The prefix to add to the tag. |
| $decorated | Yiisoft\ |
The decorated tag provider. |
public function __construct(
private readonly string $prefix,
private readonly TagProviderInterface $decorated,
) {}
User Contributed Notes
Leave a comment
Join the conversation to share a note.