| Total Complexity | 5 |
| Total Lines | 45 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | class ScheduleFactory implements ScheduleFactoryInterface |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var FactoryInterface |
||
| 15 | */ |
||
| 16 | private $factory; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @param FactoryInterface $factory |
||
| 20 | */ |
||
| 21 | public function __construct( |
||
| 22 | FactoryInterface $factory |
||
| 23 | ) { |
||
| 24 | $this->factory = $factory; |
||
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * {@inheritdoc} |
||
| 29 | */ |
||
| 30 | public function createNew() |
||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * {@inheritdoc} |
||
| 37 | */ |
||
| 38 | public function createForCommand(string $command, array $args = [], ?string $scheduleName = null, ?string $scheduleCode = null): ScheduleInterface |
||
| 56 | } |
||
| 57 | } |
||
| 58 |