1 | <?php |
||
8 | class LocalUrlGenerator extends BaseUrlGenerator |
||
9 | { |
||
10 | /** |
||
11 | * Get the url for a media item. |
||
12 | * |
||
13 | * @return string |
||
14 | * |
||
15 | * @throws \Spatie\MediaLibrary\Exceptions\UrlCannotBeDetermined |
||
16 | */ |
||
17 | public function getUrl(): string |
||
27 | |||
28 | /** |
||
29 | * @param \DateTimeInterface $expiration |
||
30 | * @param array $options |
||
31 | * |
||
32 | * @return string |
||
33 | * |
||
34 | * @throws \Spatie\MediaLibrary\Exceptions\UrlCannotBeDetermined |
||
35 | */ |
||
36 | public function getTemporaryUrl(DateTimeInterface $expiration, array $options = []): string |
||
40 | |||
41 | /* |
||
42 | * Get the path for the profile of a media item. |
||
43 | */ |
||
44 | public function getPath(): string |
||
48 | |||
49 | protected function getBaseMediaDirectoryUrl(): string |
||
61 | |||
62 | /* |
||
63 | * Get the directory where all files of the media item are stored. |
||
64 | */ |
||
65 | protected function getBaseMediaDirectory(): string |
||
69 | |||
70 | /* |
||
71 | * Get the path where the whole medialibrary is stored. |
||
72 | */ |
||
73 | protected function getStoragePath() : string |
||
79 | |||
80 | protected function makeCompatibleForNonUnixHosts(string $url): string |
||
88 | |||
89 | /** |
||
90 | * Get the url to the directory containing responsive images. |
||
91 | * |
||
92 | * @return string |
||
93 | */ |
||
94 | public function getResponsiveImagesDirectoryUrl(): string |
||
98 | } |
||
99 |
This function has been deprecated. The supplier of the file has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the function will be removed from the class and what other function to use instead.