Total Complexity | 3 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
13 | final class JobDefinition implements JobDefinitionInterface |
||
14 | { |
||
15 | private JobStrategyInterface $jobStrategy; |
||
16 | |||
17 | private array $settings; |
||
18 | |||
19 | 2 | public function __construct(JobStrategyInterface $jobStrategy, array $settings = []) |
|
20 | { |
||
21 | 2 | $this->jobStrategy = $jobStrategy; |
|
22 | 2 | $this->settings = $settings; |
|
23 | 2 | } |
|
24 | |||
25 | 1 | public function getStrategy(): JobStrategyInterface |
|
28 | } |
||
29 | |||
30 | 1 | public function getSettings(): array |
|
33 | } |
||
34 | } |
||
35 |