| Total Complexity | 3 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 2 | ||
| Bugs | 1 | Features | 1 |
| 1 | <?php |
||
| 10 | class FileAdderFactory |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @param HasMediaTrait $subject |
||
| 14 | * @param string|\Symfony\Component\HttpFoundation\File\File $file |
||
| 15 | * |
||
| 16 | * @throws \Nip\Logger\Exception |
||
| 17 | * |
||
| 18 | * @return FileAdder |
||
| 19 | * @throws \Nip\Logger\Exception |
||
| 20 | */ |
||
| 21 | 2 | public static function create($subject, $file) |
|
| 26 | } |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @return FileAdder |
||
| 30 | */ |
||
| 31 | 2 | public static function newFileAdder() |
|
| 40 |