getPathRelativeToRoot(); } /** * @param \DateTimeInterface $expiration * @param array $options * * @return string * * @throws UrlCannotBeDetermined */ public function getTemporaryUrl( DateTimeInterface $expiration , array $options = [] ): string { throw UrlCannotBeDetermined::filesystemDoesNotSupportTemporaryUrls(); return 'done'; } /** * Get the relative path for the profile of a media item. * * @return string * */ public function getPath() { return $this->getPathRelativeToRoot(); } /** * Get the url to the directory containing responsive images. * * @return string */ public function getResponsiveImagesDirectoryUrl(): string { return config( 'media-library.wm-cdn' ) . '/' . $this->pathGenerator->getPathForResponsiveImages( $this->media ); } }