| Total Complexity | 4 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | class ReplyCommand extends EventCommand |
||
| 14 | { |
||
| 15 | |||
| 16 | private $replyAggregator; |
||
| 17 | |||
| 18 | public function __construct(ReplyAggregator $replyAggregator) |
||
| 19 | { |
||
| 20 | parent::__construct(); |
||
| 21 | $this->replyAggregator = $replyAggregator; |
||
| 22 | } |
||
| 23 | |||
| 24 | protected function configure() |
||
| 25 | { |
||
| 26 | parent::configure(); |
||
| 27 | $this->setHidden(true); |
||
| 28 | } |
||
| 29 | |||
| 30 | protected function getEventName(): string |
||
| 31 | { |
||
| 32 | return 'reply'; |
||
| 33 | } |
||
| 34 | |||
| 35 | protected function executeEvent(?string $payload): ?string |
||
| 39 | } |
||
| 40 | } |
||
| 41 |