| Total Complexity | 4 |
| Total Lines | 43 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | class CommandHandler implements CommandHandlerInterface |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * @var SenderInterface |
||
| 25 | */ |
||
| 26 | protected $sender; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @var MessageFactoryInterface |
||
| 30 | */ |
||
| 31 | protected $factory; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @param SenderInterface $sender |
||
| 35 | * @param MessageFactoryInterface $factory |
||
| 36 | */ |
||
| 37 | public function __construct(SenderInterface $sender, MessageFactoryInterface $factory) |
||
| 41 | } |
||
| 42 | |||
| 43 | /** |
||
| 44 | * {@inheritdoc} |
||
| 45 | */ |
||
| 46 | public function handle(AbstractCommand $command) |
||
| 66 |