| 1 | <?php |
||
| 7 | class CustomFileNameGenerator implements \FileUpload\FileNameGenerator\FileNameGenerator |
||
| 8 | { |
||
| 9 | protected $generator; |
||
| 10 | |||
| 11 | /** |
||
| 12 | * @param string|callable|Closure $nameGenerator |
||
| 13 | */ |
||
| 14 | public function __construct($nameGenerator) |
||
| 18 | |||
| 19 | public function getFileName($source_name, $type, $tmp_name, $index, $content_range, FileUpload $upload) |
||
| 32 | } |
||
| 33 |