We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
Total Complexity | 6 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
9 | trait HandleFileNaming |
||
10 | { |
||
11 | public ?string $fileName = null; |
||
12 | |||
13 | public FileNameGeneratorInterface $fileNameGenerator; |
||
14 | |||
15 | public function getFileName(string|UploadedFile|File $file): string |
||
22 | } |
||
23 | |||
24 | private function getFileNameGeneratorInstance(?string $fileNameGenerator): FileNameGeneratorInterface |
||
39 |