| Total Complexity | 2 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | class Payload implements Dispatcher |
||
| 12 | { |
||
| 13 | private $taskProcessor; |
||
| 14 | private $serviceLocator; |
||
| 15 | |||
| 16 | 1 | public function __construct(ContainerInterface $serviceLocator, TaskProcessorInterface $taskProcessor) |
|
| 17 | { |
||
| 18 | 1 | $this->serviceLocator = $serviceLocator; |
|
| 19 | 1 | $this->taskProcessor = $taskProcessor; |
|
| 20 | 1 | } |
|
| 21 | |||
| 22 | 1 | public function dispatch(string $className, array $payload): array |
|
| 29 | } |
||
| 30 | } |
||
| 31 |