1 | <?php |
||
8 | class LocalUrlGenerator extends BaseUrlGenerator |
||
9 | { |
||
10 | /** |
||
11 | * Get the url for the profile of a media item. |
||
12 | * |
||
13 | * @return string |
||
14 | * |
||
15 | * @throws \Spatie\MediaLibrary\Exceptions\UrlCannotBeDetermined |
||
16 | */ |
||
17 | public function getUrl() : string |
||
31 | |||
32 | /* |
||
33 | * Get the path for the profile of a media item. |
||
34 | */ |
||
35 | public function getPath() : string |
||
39 | |||
40 | /* |
||
41 | * Get the directory where all files of the media item are stored. |
||
42 | */ |
||
43 | protected function getBaseMediaDirectory() : Str |
||
49 | |||
50 | /* |
||
51 | * Get the path where the whole medialibrary is stored. |
||
52 | */ |
||
53 | protected function getStoragePath() : string |
||
59 | |||
60 | protected function makeCompatibleForNonUnixHosts(string $url) : string |
||
68 | |||
69 | public function rawUrlEncodeFilename(string $path = ''): string |
||
73 | } |
||
74 |