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); } }