| Total Complexity | 6 |
| Total Lines | 59 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | class OuvrageMix |
||
| 20 | { |
||
| 21 | use OuvrageMixTrait; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @var OptiStatus |
||
| 25 | */ |
||
| 26 | protected $optiStatus; |
||
| 27 | /** |
||
| 28 | * @var OuvrageTemplate |
||
| 29 | */ |
||
| 30 | private $origin; |
||
| 31 | /** |
||
| 32 | * @var OuvrageTemplate |
||
| 33 | */ |
||
| 34 | private $book; |
||
| 35 | /** |
||
| 36 | * @var LoggerInterface|NullLogger |
||
| 37 | */ |
||
| 38 | private $log; |
||
| 39 | |||
| 40 | public function __construct(OuvrageTemplate $origin, OuvrageTemplate $book, ?LoggerInterface $log = null) |
||
| 41 | { |
||
| 42 | $this->origin = clone $origin; |
||
| 43 | $this->book = $book; |
||
| 44 | $this->log = $log ?? new NullLogger(); |
||
| 45 | } |
||
| 46 | |||
| 47 | public function getSummaryLog(): array |
||
| 50 | } |
||
| 51 | |||
| 52 | public function getResult(): OuvrageTemplate |
||
| 57 | } |
||
| 58 | |||
| 59 | private function complete(): bool |
||
| 73 | } |
||
| 74 | |||
| 75 | public function getOptiStatus(): OptiStatus |
||
| 80 |