1 | <?php |
||
9 | class S3UrlGenerator extends BaseUrlGenerator |
||
10 | { |
||
11 | /** @var \Illuminate\Filesystem\FilesystemManager */ |
||
12 | protected $filesystemManager; |
||
13 | |||
14 | public function __construct(Config $config, FilesystemManager $filesystemManager) |
||
20 | |||
21 | /** |
||
22 | * Get the url for a media item. |
||
23 | * |
||
24 | * @return string |
||
25 | */ |
||
26 | public function getUrl(): string |
||
40 | |||
41 | /** |
||
42 | * Get the temporary url for a media item. |
||
43 | * |
||
44 | * @param \DateTimeInterface $expiration |
||
45 | * @param array $options |
||
46 | * |
||
47 | * @return string |
||
48 | */ |
||
49 | public function getTemporaryUrl(DateTimeInterface $expiration, array $options = []): string |
||
56 | |||
57 | /** |
||
58 | * Get the url for the profile of a media item. |
||
59 | * |
||
60 | * @return string |
||
61 | */ |
||
62 | public function getPath(): string |
||
66 | |||
67 | /** |
||
68 | * Get the url to the directory containing responsive images. |
||
69 | * |
||
70 | * @return string |
||
71 | */ |
||
72 | public function getResponsiveImagesDirectoryUrl(): string |
||
81 | } |
||
82 |