| Total Complexity | 3 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | class FixtureFileUploader |
||
| 13 | { |
||
| 14 | private $fileUploader; |
||
| 15 | |||
| 16 | public function __construct( |
||
| 20 | } |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @param FileInterface $entity |
||
| 24 | * @param File $file |
||
| 25 | * @param string $field |
||
| 26 | * @return \Silverback\ApiComponentBundle\Entity\Component\FileInterface |
||
| 27 | * @throws \Exception |
||
| 28 | */ |
||
| 29 | public function upload(FileInterface $entity, File $file, string $field = 'filePath'): FileInterface |
||
| 51 |