| 1 | <?php declare(strict_types=1); |
||
| 10 | final class Plugin extends AbstractPlugin |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var string |
||
| 14 | */ |
||
| 15 | private $channel; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var LogStream |
||
| 19 | */ |
||
| 20 | private $stream; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @var PluginLogger |
||
| 24 | */ |
||
| 25 | private $pluginLogger; |
||
| 26 | |||
| 27 | 3 | public function __construct(string $channel) |
|
| 33 | |||
| 34 | /** |
||
| 35 | * @return LoggerInterface |
||
| 36 | */ |
||
| 37 | 2 | public function getLogger(): LoggerInterface |
|
| 41 | |||
| 42 | 1 | public function getSubscribedEvents(): array |
|
| 48 | |||
| 49 | public function setQueue(Event $event, Queue $queue) |
||
| 55 | } |
||
| 56 |