1 | <?php |
||
7 | class XetaravelPathGenerator implements PathGenerator |
||
8 | { |
||
9 | /** |
||
10 | * Get the path for the given media, relative to the root storage path. |
||
11 | * |
||
12 | * @return string |
||
13 | */ |
||
14 | public function getPath(Media $media) : string |
||
18 | |||
19 | /** |
||
20 | * Get the path for conversions of the given media, relative to the root storage path. |
||
21 | * |
||
22 | * @return string |
||
23 | */ |
||
24 | public function getPathForConversions(Media $media) : string |
||
28 | |||
29 | /* |
||
30 | * Get the path for responsive images of the given media, relative to the root storage path. |
||
31 | * |
||
32 | * @param \Spatie\MediaLibrary\Models\Media $media |
||
33 | * |
||
34 | * @return string |
||
35 | */ |
||
36 | public function getPathForResponsiveImages(Media $media): string |
||
40 | } |
||
41 |