src/UrlGenerator/S3UrlGenerator.php
public function getTemporaryUrl(DateTimeInterface $expiration, array $options = []): string
    {
        return $this
            ->filesystemManager
            ->disk($this->media->disk)
            ->temporaryUrl($this->getPath(), $expiration, $options);
    }
public function getTemporaryUrl(DateTimeInterface $expiration, array $options = []): string
    {
        return $this
            ->filesystemManager
            ->disk($this->media->disk)
            ->temporaryUrl($this->getPath(), $expiration, $options);
    }
public function getTemporaryUrl ( DateTimeInterface $ expiration , array $ options = [ ] ) : string { return $ this -> filesystemManager -> disk ( $ this -> media -> disk ) -> temporaryUrl ( $ this -> getPath ( ) , $ expiration , $ options ) ; }
Get the temporary url for a media item.

@param \DateTimeInterface $expiration
@param array $options

@return string
Get the temporary url for a media item .