From 7a3a2f3e9aac3b0176bed0c44f2d939ea21213fa Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Wed, 4 Apr 2018 08:46:46 -0500 Subject: [PATCH] Remove the url generator --- app/Support/Media/PublicUrlGenerator.php | 49 ------------------------ 1 file changed, 49 deletions(-) delete mode 100644 app/Support/Media/PublicUrlGenerator.php diff --git a/app/Support/Media/PublicUrlGenerator.php b/app/Support/Media/PublicUrlGenerator.php deleted file mode 100644 index 691a5128..00000000 --- a/app/Support/Media/PublicUrlGenerator.php +++ /dev/null @@ -1,49 +0,0 @@ -getPathRelativeToRoot()); - } - - /** - * Get the temporary url for a media item. - * - * @param DateTimeInterface $expiration - * @param array $options - * - * @return string - */ - public function getTemporaryUrl(DateTimeInterface $expiration, array $options = []): string - { - throw UrlCannotBeDetermined::filesystemDoesNotSupportTemporaryUrls(); - } - - /** - * Get the url to the directory containing responsive images. - * - * @return string - */ - public function getResponsiveImagesDirectoryUrl(): string - { - return public_asset('/').'/'.$this->pathGenerator->getPathForResponsiveImages($this->media); - } -}