We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It was mentioned previously (#35), but now the official adapters like S3 and Rackspace have the capabilities built-in as:
\Illuminate\Filesystem\FilesystemAdapter::temporaryUrl
public function temporaryUrl($path, $expiration, array $options = []) { $adapter = $this->driver->getAdapter(); if ($adapter instanceof CachedAdapter) { $adapter = $adapter->getAdapter(); } if (method_exists($adapter, 'getTemporaryUrl')) { return $adapter->getTemporaryUrl($path, $expiration, $options); } elseif ($adapter instanceof AwsS3Adapter) { return $this->getAwsTemporaryUrl($adapter, $path, $expiration, $options); } elseif ($adapter instanceof RackspaceAdapter) { return $this->getRackspaceTemporaryUrl($adapter, $path, $expiration, $options); } else { throw new RuntimeException('This driver does not support creating temporary URLs.'); } }
It should be possible to implement this in the adapter for GCS.
The text was updated successfully, but these errors were encountered:
Update Readme with info about Temporary URLs
199aeb5
Superbalist#67 this is already available from Flysystem package.
Successfully merging a pull request may close this issue.
It was mentioned previously (#35), but now the official adapters like S3 and Rackspace have the capabilities built-in as:
\Illuminate\Filesystem\FilesystemAdapter::temporaryUrl
It should be possible to implement this in the adapter for GCS.
The text was updated successfully, but these errors were encountered: