| 1 | <?php |
||
| 7 | class BasePathGenerator implements PathGenerator |
||
| 8 | { |
||
| 9 | /* |
||
| 10 | * Get the path for the given media, relative to the root storage path. |
||
| 11 | */ |
||
| 12 | public function getPath(Media $media): string |
||
| 16 | |||
| 17 | /* |
||
| 18 | * Get the path for conversions of the given media, relative to the root storage path. |
||
| 19 | */ |
||
| 20 | public function getPathForConversions(Media $media): string |
||
| 24 | |||
| 25 | /* |
||
| 26 | * Get the path for responsive images of the given media, relative to the root storage path. |
||
| 27 | */ |
||
| 28 | public function getPathForResponsiveImages(Media $media): string |
||
| 32 | |||
| 33 | /* |
||
| 34 | * Get a unique base path for the given media. |
||
| 35 | */ |
||
| 36 | protected function getBasePath(Media $media): string |
||
| 40 | } |
||
| 41 |