|
|
@@ -19541,7 +19541,7 @@ class Storage {
|
|
|
* Get a filesystem instance.
|
|
|
*
|
|
|
* @param string|null $name
|
|
|
- * @return \Illuminate\Filesystem\LocalFilesystemAdapter
|
|
|
+ * @return \Illuminate\Filesystem\AwsS3V3Adapter
|
|
|
* @static
|
|
|
*/
|
|
|
public static function drive($name = null)
|
|
|
@@ -19554,7 +19554,7 @@ public static function drive($name = null)
|
|
|
* Get a filesystem instance.
|
|
|
*
|
|
|
* @param string|null $name
|
|
|
- * @return \Illuminate\Filesystem\LocalFilesystemAdapter
|
|
|
+ * @return \Illuminate\Filesystem\AwsS3V3Adapter
|
|
|
* @static
|
|
|
*/
|
|
|
public static function disk($name = null)
|
|
|
@@ -19579,7 +19579,7 @@ public static function cloud()
|
|
|
* Build an on-demand disk.
|
|
|
*
|
|
|
* @param string|array $config
|
|
|
- * @return \Illuminate\Filesystem\LocalFilesystemAdapter
|
|
|
+ * @return \Illuminate\Filesystem\AwsS3V3Adapter
|
|
|
* @static
|
|
|
*/
|
|
|
public static function build($config)
|
|
|
@@ -19593,7 +19593,7 @@ public static function build($config)
|
|
|
*
|
|
|
* @param array $config
|
|
|
* @param string $name
|
|
|
- * @return \Illuminate\Filesystem\LocalFilesystemAdapter
|
|
|
+ * @return \Illuminate\Filesystem\AwsS3V3Adapter
|
|
|
* @static
|
|
|
*/
|
|
|
public static function createLocalDriver($config, $name = 'local')
|
|
|
@@ -19606,7 +19606,7 @@ public static function createLocalDriver($config, $name = 'local')
|
|
|
* Create an instance of the ftp driver.
|
|
|
*
|
|
|
* @param array $config
|
|
|
- * @return \Illuminate\Filesystem\LocalFilesystemAdapter
|
|
|
+ * @return \Illuminate\Filesystem\AwsS3V3Adapter
|
|
|
* @static
|
|
|
*/
|
|
|
public static function createFtpDriver($config)
|
|
|
@@ -19619,7 +19619,7 @@ public static function createFtpDriver($config)
|
|
|
* Create an instance of the sftp driver.
|
|
|
*
|
|
|
* @param array $config
|
|
|
- * @return \Illuminate\Filesystem\LocalFilesystemAdapter
|
|
|
+ * @return \Illuminate\Filesystem\AwsS3V3Adapter
|
|
|
* @static
|
|
|
*/
|
|
|
public static function createSftpDriver($config)
|
|
|
@@ -19645,7 +19645,7 @@ public static function createS3Driver($config)
|
|
|
* Create a scoped driver.
|
|
|
*
|
|
|
* @param array $config
|
|
|
- * @return \Illuminate\Filesystem\LocalFilesystemAdapter
|
|
|
+ * @return \Illuminate\Filesystem\AwsS3V3Adapter
|
|
|
* @static
|
|
|
*/
|
|
|
public static function createScopedDriver($config)
|
|
|
@@ -19745,6 +19745,20 @@ public static function setApplication($app)
|
|
|
return $instance->setApplication($app);
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * Get the URL for the file at the given path.
|
|
|
+ *
|
|
|
+ * @param string $path
|
|
|
+ * @return string
|
|
|
+ * @throws \RuntimeException
|
|
|
+ * @static
|
|
|
+ */
|
|
|
+ public static function url($path)
|
|
|
+ {
|
|
|
+ /** @var \Illuminate\Filesystem\AwsS3V3Adapter $instance */
|
|
|
+ return $instance->url($path);
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* Determine if temporary URLs can be generated.
|
|
|
*
|
|
|
@@ -19753,7 +19767,7 @@ public static function setApplication($app)
|
|
|
*/
|
|
|
public static function providesTemporaryUrls()
|
|
|
{
|
|
|
- /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */
|
|
|
+ /** @var \Illuminate\Filesystem\AwsS3V3Adapter $instance */
|
|
|
return $instance->providesTemporaryUrls();
|
|
|
}
|
|
|
|
|
|
@@ -19768,35 +19782,35 @@ public static function providesTemporaryUrls()
|
|
|
*/
|
|
|
public static function temporaryUrl($path, $expiration, $options = [])
|
|
|
{
|
|
|
- /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */
|
|
|
+ /** @var \Illuminate\Filesystem\AwsS3V3Adapter $instance */
|
|
|
return $instance->temporaryUrl($path, $expiration, $options);
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * Specify the name of the disk the adapter is managing.
|
|
|
+ * Get a temporary upload URL for the file at the given path.
|
|
|
*
|
|
|
- * @param string $disk
|
|
|
- * @return \Illuminate\Filesystem\LocalFilesystemAdapter
|
|
|
+ * @param string $path
|
|
|
+ * @param \DateTimeInterface $expiration
|
|
|
+ * @param array $options
|
|
|
+ * @return array
|
|
|
* @static
|
|
|
*/
|
|
|
- public static function diskName($disk)
|
|
|
+ public static function temporaryUploadUrl($path, $expiration, $options = [])
|
|
|
{
|
|
|
- /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */
|
|
|
- return $instance->diskName($disk);
|
|
|
+ /** @var \Illuminate\Filesystem\AwsS3V3Adapter $instance */
|
|
|
+ return $instance->temporaryUploadUrl($path, $expiration, $options);
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * Indicate that signed URLs should serve the corresponding files.
|
|
|
+ * Get the underlying S3 client.
|
|
|
*
|
|
|
- * @param bool $serve
|
|
|
- * @param \Closure|null $urlGeneratorResolver
|
|
|
- * @return \Illuminate\Filesystem\LocalFilesystemAdapter
|
|
|
+ * @return \Aws\S3\S3Client
|
|
|
* @static
|
|
|
*/
|
|
|
- public static function shouldServeSignedUrls($serve = true, $urlGeneratorResolver = null)
|
|
|
+ public static function getClient()
|
|
|
{
|
|
|
- /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */
|
|
|
- return $instance->shouldServeSignedUrls($serve, $urlGeneratorResolver);
|
|
|
+ /** @var \Illuminate\Filesystem\AwsS3V3Adapter $instance */
|
|
|
+ return $instance->getClient();
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
@@ -19804,13 +19818,13 @@ public static function shouldServeSignedUrls($serve = true, $urlGeneratorResolve
|
|
|
*
|
|
|
* @param string|array $path
|
|
|
* @param string|null $content
|
|
|
- * @return \Illuminate\Filesystem\LocalFilesystemAdapter
|
|
|
+ * @return \Illuminate\Filesystem\AwsS3V3Adapter
|
|
|
* @static
|
|
|
*/
|
|
|
public static function assertExists($path, $content = null)
|
|
|
{
|
|
|
//Method inherited from \Illuminate\Filesystem\FilesystemAdapter
|
|
|
- /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */
|
|
|
+ /** @var \Illuminate\Filesystem\AwsS3V3Adapter $instance */
|
|
|
return $instance->assertExists($path, $content);
|
|
|
}
|
|
|
|
|
|
@@ -19820,13 +19834,13 @@ public static function assertExists($path, $content = null)
|
|
|
* @param string $path
|
|
|
* @param int $count
|
|
|
* @param bool $recursive
|
|
|
- * @return \Illuminate\Filesystem\LocalFilesystemAdapter
|
|
|
+ * @return \Illuminate\Filesystem\AwsS3V3Adapter
|
|
|
* @static
|
|
|
*/
|
|
|
public static function assertCount($path, $count, $recursive = false)
|
|
|
{
|
|
|
//Method inherited from \Illuminate\Filesystem\FilesystemAdapter
|
|
|
- /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */
|
|
|
+ /** @var \Illuminate\Filesystem\AwsS3V3Adapter $instance */
|
|
|
return $instance->assertCount($path, $count, $recursive);
|
|
|
}
|
|
|
|
|
|
@@ -19834,13 +19848,13 @@ public static function assertCount($path, $count, $recursive = false)
|
|
|
* Assert that the given file or directory does not exist.
|
|
|
*
|
|
|
* @param string|array $path
|
|
|
- * @return \Illuminate\Filesystem\LocalFilesystemAdapter
|
|
|
+ * @return \Illuminate\Filesystem\AwsS3V3Adapter
|
|
|
* @static
|
|
|
*/
|
|
|
public static function assertMissing($path)
|
|
|
{
|
|
|
//Method inherited from \Illuminate\Filesystem\FilesystemAdapter
|
|
|
- /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */
|
|
|
+ /** @var \Illuminate\Filesystem\AwsS3V3Adapter $instance */
|
|
|
return $instance->assertMissing($path);
|
|
|
}
|
|
|
|
|
|
@@ -19848,13 +19862,13 @@ public static function assertMissing($path)
|
|
|
* Assert that the given directory is empty.
|
|
|
*
|
|
|
* @param string $path
|
|
|
- * @return \Illuminate\Filesystem\LocalFilesystemAdapter
|
|
|
+ * @return \Illuminate\Filesystem\AwsS3V3Adapter
|
|
|
* @static
|
|
|
*/
|
|
|
public static function assertDirectoryEmpty($path)
|
|
|
{
|
|
|
//Method inherited from \Illuminate\Filesystem\FilesystemAdapter
|
|
|
- /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */
|
|
|
+ /** @var \Illuminate\Filesystem\AwsS3V3Adapter $instance */
|
|
|
return $instance->assertDirectoryEmpty($path);
|
|
|
}
|
|
|
|
|
|
@@ -19868,7 +19882,7 @@ public static function assertDirectoryEmpty($path)
|
|
|
public static function exists($path)
|
|
|
{
|
|
|
//Method inherited from \Illuminate\Filesystem\FilesystemAdapter
|
|
|
- /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */
|
|
|
+ /** @var \Illuminate\Filesystem\AwsS3V3Adapter $instance */
|
|
|
return $instance->exists($path);
|
|
|
}
|
|
|
|
|
|
@@ -19882,7 +19896,7 @@ public static function exists($path)
|
|
|
public static function missing($path)
|
|
|
{
|
|
|
//Method inherited from \Illuminate\Filesystem\FilesystemAdapter
|
|
|
- /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */
|
|
|
+ /** @var \Illuminate\Filesystem\AwsS3V3Adapter $instance */
|
|
|
return $instance->missing($path);
|
|
|
}
|
|
|
|
|
|
@@ -19896,7 +19910,7 @@ public static function missing($path)
|
|
|
public static function fileExists($path)
|
|
|
{
|
|
|
//Method inherited from \Illuminate\Filesystem\FilesystemAdapter
|
|
|
- /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */
|
|
|
+ /** @var \Illuminate\Filesystem\AwsS3V3Adapter $instance */
|
|
|
return $instance->fileExists($path);
|
|
|
}
|
|
|
|
|
|
@@ -19910,7 +19924,7 @@ public static function fileExists($path)
|
|
|
public static function fileMissing($path)
|
|
|
{
|
|
|
//Method inherited from \Illuminate\Filesystem\FilesystemAdapter
|
|
|
- /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */
|
|
|
+ /** @var \Illuminate\Filesystem\AwsS3V3Adapter $instance */
|
|
|
return $instance->fileMissing($path);
|
|
|
}
|
|
|
|
|
|
@@ -19924,7 +19938,7 @@ public static function fileMissing($path)
|
|
|
public static function directoryExists($path)
|
|
|
{
|
|
|
//Method inherited from \Illuminate\Filesystem\FilesystemAdapter
|
|
|
- /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */
|
|
|
+ /** @var \Illuminate\Filesystem\AwsS3V3Adapter $instance */
|
|
|
return $instance->directoryExists($path);
|
|
|
}
|
|
|
|
|
|
@@ -19938,7 +19952,7 @@ public static function directoryExists($path)
|
|
|
public static function directoryMissing($path)
|
|
|
{
|
|
|
//Method inherited from \Illuminate\Filesystem\FilesystemAdapter
|
|
|
- /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */
|
|
|
+ /** @var \Illuminate\Filesystem\AwsS3V3Adapter $instance */
|
|
|
return $instance->directoryMissing($path);
|
|
|
}
|
|
|
|
|
|
@@ -19952,7 +19966,7 @@ public static function directoryMissing($path)
|
|
|
public static function path($path)
|
|
|
{
|
|
|
//Method inherited from \Illuminate\Filesystem\FilesystemAdapter
|
|
|
- /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */
|
|
|
+ /** @var \Illuminate\Filesystem\AwsS3V3Adapter $instance */
|
|
|
return $instance->path($path);
|
|
|
}
|
|
|
|
|
|
@@ -19966,7 +19980,7 @@ public static function path($path)
|
|
|
public static function get($path)
|
|
|
{
|
|
|
//Method inherited from \Illuminate\Filesystem\FilesystemAdapter
|
|
|
- /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */
|
|
|
+ /** @var \Illuminate\Filesystem\AwsS3V3Adapter $instance */
|
|
|
return $instance->get($path);
|
|
|
}
|
|
|
|
|
|
@@ -19981,7 +19995,7 @@ public static function get($path)
|
|
|
public static function json($path, $flags = 0)
|
|
|
{
|
|
|
//Method inherited from \Illuminate\Filesystem\FilesystemAdapter
|
|
|
- /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */
|
|
|
+ /** @var \Illuminate\Filesystem\AwsS3V3Adapter $instance */
|
|
|
return $instance->json($path, $flags);
|
|
|
}
|
|
|
|
|
|
@@ -19998,7 +20012,7 @@ public static function json($path, $flags = 0)
|
|
|
public static function response($path, $name = null, $headers = [], $disposition = 'inline')
|
|
|
{
|
|
|
//Method inherited from \Illuminate\Filesystem\FilesystemAdapter
|
|
|
- /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */
|
|
|
+ /** @var \Illuminate\Filesystem\AwsS3V3Adapter $instance */
|
|
|
return $instance->response($path, $name, $headers, $disposition);
|
|
|
}
|
|
|
|
|
|
@@ -20015,7 +20029,7 @@ public static function response($path, $name = null, $headers = [], $disposition
|
|
|
public static function serve($request, $path, $name = null, $headers = [])
|
|
|
{
|
|
|
//Method inherited from \Illuminate\Filesystem\FilesystemAdapter
|
|
|
- /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */
|
|
|
+ /** @var \Illuminate\Filesystem\AwsS3V3Adapter $instance */
|
|
|
return $instance->serve($request, $path, $name, $headers);
|
|
|
}
|
|
|
|
|
|
@@ -20031,7 +20045,7 @@ public static function serve($request, $path, $name = null, $headers = [])
|
|
|
public static function download($path, $name = null, $headers = [])
|
|
|
{
|
|
|
//Method inherited from \Illuminate\Filesystem\FilesystemAdapter
|
|
|
- /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */
|
|
|
+ /** @var \Illuminate\Filesystem\AwsS3V3Adapter $instance */
|
|
|
return $instance->download($path, $name, $headers);
|
|
|
}
|
|
|
|
|
|
@@ -20047,7 +20061,7 @@ public static function download($path, $name = null, $headers = [])
|
|
|
public static function put($path, $contents, $options = [])
|
|
|
{
|
|
|
//Method inherited from \Illuminate\Filesystem\FilesystemAdapter
|
|
|
- /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */
|
|
|
+ /** @var \Illuminate\Filesystem\AwsS3V3Adapter $instance */
|
|
|
return $instance->put($path, $contents, $options);
|
|
|
}
|
|
|
|
|
|
@@ -20063,7 +20077,7 @@ public static function put($path, $contents, $options = [])
|
|
|
public static function putFile($path, $file = null, $options = [])
|
|
|
{
|
|
|
//Method inherited from \Illuminate\Filesystem\FilesystemAdapter
|
|
|
- /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */
|
|
|
+ /** @var \Illuminate\Filesystem\AwsS3V3Adapter $instance */
|
|
|
return $instance->putFile($path, $file, $options);
|
|
|
}
|
|
|
|
|
|
@@ -20080,7 +20094,7 @@ public static function putFile($path, $file = null, $options = [])
|
|
|
public static function putFileAs($path, $file, $name = null, $options = [])
|
|
|
{
|
|
|
//Method inherited from \Illuminate\Filesystem\FilesystemAdapter
|
|
|
- /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */
|
|
|
+ /** @var \Illuminate\Filesystem\AwsS3V3Adapter $instance */
|
|
|
return $instance->putFileAs($path, $file, $name, $options);
|
|
|
}
|
|
|
|
|
|
@@ -20094,7 +20108,7 @@ public static function putFileAs($path, $file, $name = null, $options = [])
|
|
|
public static function getVisibility($path)
|
|
|
{
|
|
|
//Method inherited from \Illuminate\Filesystem\FilesystemAdapter
|
|
|
- /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */
|
|
|
+ /** @var \Illuminate\Filesystem\AwsS3V3Adapter $instance */
|
|
|
return $instance->getVisibility($path);
|
|
|
}
|
|
|
|
|
|
@@ -20109,7 +20123,7 @@ public static function getVisibility($path)
|
|
|
public static function setVisibility($path, $visibility)
|
|
|
{
|
|
|
//Method inherited from \Illuminate\Filesystem\FilesystemAdapter
|
|
|
- /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */
|
|
|
+ /** @var \Illuminate\Filesystem\AwsS3V3Adapter $instance */
|
|
|
return $instance->setVisibility($path, $visibility);
|
|
|
}
|
|
|
|
|
|
@@ -20126,7 +20140,7 @@ public static function prepend($path, $data, $separator = '
|
|
|
')
|
|
|
{
|
|
|
//Method inherited from \Illuminate\Filesystem\FilesystemAdapter
|
|
|
- /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */
|
|
|
+ /** @var \Illuminate\Filesystem\AwsS3V3Adapter $instance */
|
|
|
return $instance->prepend($path, $data, $separator);
|
|
|
}
|
|
|
|
|
|
@@ -20143,7 +20157,7 @@ public static function append($path, $data, $separator = '
|
|
|
')
|
|
|
{
|
|
|
//Method inherited from \Illuminate\Filesystem\FilesystemAdapter
|
|
|
- /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */
|
|
|
+ /** @var \Illuminate\Filesystem\AwsS3V3Adapter $instance */
|
|
|
return $instance->append($path, $data, $separator);
|
|
|
}
|
|
|
|
|
|
@@ -20157,7 +20171,7 @@ public static function append($path, $data, $separator = '
|
|
|
public static function delete($paths)
|
|
|
{
|
|
|
//Method inherited from \Illuminate\Filesystem\FilesystemAdapter
|
|
|
- /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */
|
|
|
+ /** @var \Illuminate\Filesystem\AwsS3V3Adapter $instance */
|
|
|
return $instance->delete($paths);
|
|
|
}
|
|
|
|
|
|
@@ -20172,7 +20186,7 @@ public static function delete($paths)
|
|
|
public static function copy($from, $to)
|
|
|
{
|
|
|
//Method inherited from \Illuminate\Filesystem\FilesystemAdapter
|
|
|
- /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */
|
|
|
+ /** @var \Illuminate\Filesystem\AwsS3V3Adapter $instance */
|
|
|
return $instance->copy($from, $to);
|
|
|
}
|
|
|
|
|
|
@@ -20187,7 +20201,7 @@ public static function copy($from, $to)
|
|
|
public static function move($from, $to)
|
|
|
{
|
|
|
//Method inherited from \Illuminate\Filesystem\FilesystemAdapter
|
|
|
- /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */
|
|
|
+ /** @var \Illuminate\Filesystem\AwsS3V3Adapter $instance */
|
|
|
return $instance->move($from, $to);
|
|
|
}
|
|
|
|
|
|
@@ -20201,7 +20215,7 @@ public static function move($from, $to)
|
|
|
public static function size($path)
|
|
|
{
|
|
|
//Method inherited from \Illuminate\Filesystem\FilesystemAdapter
|
|
|
- /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */
|
|
|
+ /** @var \Illuminate\Filesystem\AwsS3V3Adapter $instance */
|
|
|
return $instance->size($path);
|
|
|
}
|
|
|
|
|
|
@@ -20215,7 +20229,7 @@ public static function size($path)
|
|
|
public static function checksum($path, $options = [])
|
|
|
{
|
|
|
//Method inherited from \Illuminate\Filesystem\FilesystemAdapter
|
|
|
- /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */
|
|
|
+ /** @var \Illuminate\Filesystem\AwsS3V3Adapter $instance */
|
|
|
return $instance->checksum($path, $options);
|
|
|
}
|
|
|
|
|
|
@@ -20229,7 +20243,7 @@ public static function checksum($path, $options = [])
|
|
|
public static function mimeType($path)
|
|
|
{
|
|
|
//Method inherited from \Illuminate\Filesystem\FilesystemAdapter
|
|
|
- /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */
|
|
|
+ /** @var \Illuminate\Filesystem\AwsS3V3Adapter $instance */
|
|
|
return $instance->mimeType($path);
|
|
|
}
|
|
|
|
|
|
@@ -20243,7 +20257,7 @@ public static function mimeType($path)
|
|
|
public static function lastModified($path)
|
|
|
{
|
|
|
//Method inherited from \Illuminate\Filesystem\FilesystemAdapter
|
|
|
- /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */
|
|
|
+ /** @var \Illuminate\Filesystem\AwsS3V3Adapter $instance */
|
|
|
return $instance->lastModified($path);
|
|
|
}
|
|
|
|
|
|
@@ -20257,7 +20271,7 @@ public static function lastModified($path)
|
|
|
public static function readStream($path)
|
|
|
{
|
|
|
//Method inherited from \Illuminate\Filesystem\FilesystemAdapter
|
|
|
- /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */
|
|
|
+ /** @var \Illuminate\Filesystem\AwsS3V3Adapter $instance */
|
|
|
return $instance->readStream($path);
|
|
|
}
|
|
|
|
|
|
@@ -20273,42 +20287,10 @@ public static function readStream($path)
|
|
|
public static function writeStream($path, $resource, $options = [])
|
|
|
{
|
|
|
//Method inherited from \Illuminate\Filesystem\FilesystemAdapter
|
|
|
- /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */
|
|
|
+ /** @var \Illuminate\Filesystem\AwsS3V3Adapter $instance */
|
|
|
return $instance->writeStream($path, $resource, $options);
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
- * Get the URL for the file at the given path.
|
|
|
- *
|
|
|
- * @param string $path
|
|
|
- * @return string
|
|
|
- * @throws \RuntimeException
|
|
|
- * @static
|
|
|
- */
|
|
|
- public static function url($path)
|
|
|
- {
|
|
|
- //Method inherited from \Illuminate\Filesystem\FilesystemAdapter
|
|
|
- /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */
|
|
|
- return $instance->url($path);
|
|
|
- }
|
|
|
-
|
|
|
- /**
|
|
|
- * Get a temporary upload URL for the file at the given path.
|
|
|
- *
|
|
|
- * @param string $path
|
|
|
- * @param \DateTimeInterface $expiration
|
|
|
- * @param array $options
|
|
|
- * @return array
|
|
|
- * @throws \RuntimeException
|
|
|
- * @static
|
|
|
- */
|
|
|
- public static function temporaryUploadUrl($path, $expiration, $options = [])
|
|
|
- {
|
|
|
- //Method inherited from \Illuminate\Filesystem\FilesystemAdapter
|
|
|
- /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */
|
|
|
- return $instance->temporaryUploadUrl($path, $expiration, $options);
|
|
|
- }
|
|
|
-
|
|
|
/**
|
|
|
* Get an array of all files in a directory.
|
|
|
*
|
|
|
@@ -20320,7 +20302,7 @@ public static function temporaryUploadUrl($path, $expiration, $options = [])
|
|
|
public static function files($directory = null, $recursive = false)
|
|
|
{
|
|
|
//Method inherited from \Illuminate\Filesystem\FilesystemAdapter
|
|
|
- /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */
|
|
|
+ /** @var \Illuminate\Filesystem\AwsS3V3Adapter $instance */
|
|
|
return $instance->files($directory, $recursive);
|
|
|
}
|
|
|
|
|
|
@@ -20334,7 +20316,7 @@ public static function files($directory = null, $recursive = false)
|
|
|
public static function allFiles($directory = null)
|
|
|
{
|
|
|
//Method inherited from \Illuminate\Filesystem\FilesystemAdapter
|
|
|
- /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */
|
|
|
+ /** @var \Illuminate\Filesystem\AwsS3V3Adapter $instance */
|
|
|
return $instance->allFiles($directory);
|
|
|
}
|
|
|
|
|
|
@@ -20349,7 +20331,7 @@ public static function allFiles($directory = null)
|
|
|
public static function directories($directory = null, $recursive = false)
|
|
|
{
|
|
|
//Method inherited from \Illuminate\Filesystem\FilesystemAdapter
|
|
|
- /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */
|
|
|
+ /** @var \Illuminate\Filesystem\AwsS3V3Adapter $instance */
|
|
|
return $instance->directories($directory, $recursive);
|
|
|
}
|
|
|
|
|
|
@@ -20363,7 +20345,7 @@ public static function directories($directory = null, $recursive = false)
|
|
|
public static function allDirectories($directory = null)
|
|
|
{
|
|
|
//Method inherited from \Illuminate\Filesystem\FilesystemAdapter
|
|
|
- /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */
|
|
|
+ /** @var \Illuminate\Filesystem\AwsS3V3Adapter $instance */
|
|
|
return $instance->allDirectories($directory);
|
|
|
}
|
|
|
|
|
|
@@ -20377,7 +20359,7 @@ public static function allDirectories($directory = null)
|
|
|
public static function makeDirectory($path)
|
|
|
{
|
|
|
//Method inherited from \Illuminate\Filesystem\FilesystemAdapter
|
|
|
- /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */
|
|
|
+ /** @var \Illuminate\Filesystem\AwsS3V3Adapter $instance */
|
|
|
return $instance->makeDirectory($path);
|
|
|
}
|
|
|
|
|
|
@@ -20391,7 +20373,7 @@ public static function makeDirectory($path)
|
|
|
public static function deleteDirectory($directory)
|
|
|
{
|
|
|
//Method inherited from \Illuminate\Filesystem\FilesystemAdapter
|
|
|
- /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */
|
|
|
+ /** @var \Illuminate\Filesystem\AwsS3V3Adapter $instance */
|
|
|
return $instance->deleteDirectory($directory);
|
|
|
}
|
|
|
|
|
|
@@ -20404,7 +20386,7 @@ public static function deleteDirectory($directory)
|
|
|
public static function getDriver()
|
|
|
{
|
|
|
//Method inherited from \Illuminate\Filesystem\FilesystemAdapter
|
|
|
- /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */
|
|
|
+ /** @var \Illuminate\Filesystem\AwsS3V3Adapter $instance */
|
|
|
return $instance->getDriver();
|
|
|
}
|
|
|
|
|
|
@@ -20417,7 +20399,7 @@ public static function getDriver()
|
|
|
public static function getAdapter()
|
|
|
{
|
|
|
//Method inherited from \Illuminate\Filesystem\FilesystemAdapter
|
|
|
- /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */
|
|
|
+ /** @var \Illuminate\Filesystem\AwsS3V3Adapter $instance */
|
|
|
return $instance->getAdapter();
|
|
|
}
|
|
|
|
|
|
@@ -20430,7 +20412,7 @@ public static function getAdapter()
|
|
|
public static function getConfig()
|
|
|
{
|
|
|
//Method inherited from \Illuminate\Filesystem\FilesystemAdapter
|
|
|
- /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */
|
|
|
+ /** @var \Illuminate\Filesystem\AwsS3V3Adapter $instance */
|
|
|
return $instance->getConfig();
|
|
|
}
|
|
|
|
|
|
@@ -20444,7 +20426,7 @@ public static function getConfig()
|
|
|
public static function serveUsing($callback)
|
|
|
{
|
|
|
//Method inherited from \Illuminate\Filesystem\FilesystemAdapter
|
|
|
- /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */
|
|
|
+ /** @var \Illuminate\Filesystem\AwsS3V3Adapter $instance */
|
|
|
$instance->serveUsing($callback);
|
|
|
}
|
|
|
|
|
|
@@ -20458,7 +20440,7 @@ public static function serveUsing($callback)
|
|
|
public static function buildTemporaryUrlsUsing($callback)
|
|
|
{
|
|
|
//Method inherited from \Illuminate\Filesystem\FilesystemAdapter
|
|
|
- /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */
|
|
|
+ /** @var \Illuminate\Filesystem\AwsS3V3Adapter $instance */
|
|
|
$instance->buildTemporaryUrlsUsing($callback);
|
|
|
}
|
|
|
|
|
|
@@ -20475,7 +20457,7 @@ public static function buildTemporaryUrlsUsing($callback)
|
|
|
*/
|
|
|
public static function when($value = null, $callback = null, $default = null)
|
|
|
{
|
|
|
- /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */
|
|
|
+ /** @var \Illuminate\Filesystem\AwsS3V3Adapter $instance */
|
|
|
return $instance->when($value, $callback, $default);
|
|
|
}
|
|
|
|
|
|
@@ -20492,7 +20474,7 @@ public static function when($value = null, $callback = null, $default = null)
|
|
|
*/
|
|
|
public static function unless($value = null, $callback = null, $default = null)
|
|
|
{
|
|
|
- /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */
|
|
|
+ /** @var \Illuminate\Filesystem\AwsS3V3Adapter $instance */
|
|
|
return $instance->unless($value, $callback, $default);
|
|
|
}
|
|
|
|
|
|
@@ -20508,7 +20490,7 @@ public static function unless($value = null, $callback = null, $default = null)
|
|
|
public static function macro($name, $macro)
|
|
|
{
|
|
|
//Method inherited from \Illuminate\Filesystem\FilesystemAdapter
|
|
|
- \Illuminate\Filesystem\LocalFilesystemAdapter::macro($name, $macro);
|
|
|
+ \Illuminate\Filesystem\AwsS3V3Adapter::macro($name, $macro);
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
@@ -20523,7 +20505,7 @@ public static function macro($name, $macro)
|
|
|
public static function mixin($mixin, $replace = true)
|
|
|
{
|
|
|
//Method inherited from \Illuminate\Filesystem\FilesystemAdapter
|
|
|
- \Illuminate\Filesystem\LocalFilesystemAdapter::mixin($mixin, $replace);
|
|
|
+ \Illuminate\Filesystem\AwsS3V3Adapter::mixin($mixin, $replace);
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
@@ -20536,7 +20518,7 @@ public static function mixin($mixin, $replace = true)
|
|
|
public static function hasMacro($name)
|
|
|
{
|
|
|
//Method inherited from \Illuminate\Filesystem\FilesystemAdapter
|
|
|
- return \Illuminate\Filesystem\LocalFilesystemAdapter::hasMacro($name);
|
|
|
+ return \Illuminate\Filesystem\AwsS3V3Adapter::hasMacro($name);
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
@@ -20548,7 +20530,7 @@ public static function hasMacro($name)
|
|
|
public static function flushMacros()
|
|
|
{
|
|
|
//Method inherited from \Illuminate\Filesystem\FilesystemAdapter
|
|
|
- \Illuminate\Filesystem\LocalFilesystemAdapter::flushMacros();
|
|
|
+ \Illuminate\Filesystem\AwsS3V3Adapter::flushMacros();
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
@@ -20563,7 +20545,7 @@ public static function flushMacros()
|
|
|
public static function macroCall($method, $parameters)
|
|
|
{
|
|
|
//Method inherited from \Illuminate\Filesystem\FilesystemAdapter
|
|
|
- /** @var \Illuminate\Filesystem\LocalFilesystemAdapter $instance */
|
|
|
+ /** @var \Illuminate\Filesystem\AwsS3V3Adapter $instance */
|
|
|
return $instance->macroCall($method, $parameters);
|
|
|
}
|
|
|
|