| 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 the profile of a media item. |
||
| 23 | * |
||
| 24 | * @return string |
||
| 25 | */ |
||
| 26 | public function getUrl(): string |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Get the temporary url for the profile of a media item. |
||
| 33 | * |
||
| 34 | * @param \DateTimeInterface $expiration |
||
| 35 | * @param array $options |
||
| 36 | * |
||
| 37 | * @return string |
||
| 38 | */ |
||
| 39 | public function getTemporaryUrl(DateTimeInterface $expiration, array $options = []): string |
||
| 46 | |||
| 47 | /** |
||
| 48 | * Get the url for the profile of a media item. |
||
| 49 | * |
||
| 50 | * @return string |
||
| 51 | */ |
||
| 52 | public function getPath(): string |
||
| 56 | } |
||
| 57 |