Total Lines | 22 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
8 | interface MediaProviderInterface |
||
9 | { |
||
10 | |||
11 | /** |
||
12 | * |
||
13 | * @param UploadedFile $file |
||
14 | * @param string $directory |
||
15 | * |
||
16 | * @return string |
||
17 | */ |
||
18 | public function generateName(UploadedFile $file, $directory); |
||
19 | |||
20 | /** |
||
21 | * |
||
22 | * @param MediaInterface $media |
||
23 | * @param string $class |
||
24 | * @param array $options |
||
25 | * |
||
26 | * @return MediaInterface |
||
27 | */ |
||
28 | public function save(MediaInterface $media, $class, $options); |
||
29 | } |
||
30 |