| 1 | <?php |
||
| 5 | class CommandBus |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var Manager |
||
| 9 | */ |
||
| 10 | private $manager; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @param Manager $manager |
||
| 14 | */ |
||
| 15 | 3 | public function __construct(Manager $manager) |
|
| 19 | |||
| 20 | /** |
||
| 21 | * @return Manager |
||
| 22 | */ |
||
| 23 | 3 | public function getManager() |
|
| 27 | |||
| 28 | /** |
||
| 29 | * @param array $dtoData |
||
| 30 | * @return mixed |
||
| 31 | */ |
||
| 32 | 1 | public function receive(array $dtoData) |
|
| 45 | |||
| 46 | /** |
||
| 47 | * @param Interfaces\Context $context |
||
| 48 | * @return mixed |
||
| 49 | */ |
||
| 50 | 1 | public function send(Interfaces\Context $context) |
|
| 54 | } |
||
| 55 |