| Total Complexity | 2 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | final class SendReportAction |
||
| 14 | { |
||
| 15 | /** @var MessageBusInterface */ |
||
| 16 | private $commandBus; |
||
| 17 | |||
| 18 | /** @var RouterInterface */ |
||
| 19 | private $router; |
||
| 20 | |||
| 21 | /** @var FlashBagInterface */ |
||
| 22 | private $flashBag; |
||
| 23 | |||
| 24 | public function __construct( |
||
| 25 | MessageBusInterface $commandBus, |
||
| 26 | RouterInterface $router, |
||
| 27 | FlashBagInterface $flashBag |
||
| 28 | ) { |
||
| 29 | $this->commandBus = $commandBus; |
||
| 30 | $this->router = $router; |
||
| 31 | $this->flashBag = $flashBag; |
||
| 32 | } |
||
| 33 | |||
| 34 | public function __invoke($id) |
||
| 41 | } |
||
| 42 | } |
||
| 43 |