| Conditions | 3 |
| Paths | 3 |
| Total Lines | 15 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 18 | public function handle() |
||
| 19 | { |
||
| 20 | $components = [ |
||
| 21 | new MixAutoParams($this->origin, $this->book, $this->log, $this->optiStatus), |
||
| 22 | new MixLienAuteur($this->origin, $this->book, $this->log, $this->optiStatus), |
||
| 23 | new MixLireEnLigne($this->origin, $this->book, $this->log, $this->optiStatus), |
||
| 24 | new MixTitle($this->origin, $this->book, $this->log, $this->optiStatus), |
||
| 25 | new MixBnfCopyright($this->origin, $this->book, $this->log, $this->optiStatus), |
||
| 26 | ]; |
||
| 27 | |||
| 28 | foreach ($components as $component) { |
||
| 29 | if (!$component instanceof TransformHandlerInterface) { |
||
| 30 | throw new LogicException('TransformHandlerInterface expected'); |
||
| 31 | } |
||
| 32 | $component->handle(); |
||
| 33 | } |
||
| 35 | } |