-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy path_ide_helper.php
35 lines (32 loc) · 1.03 KB
/
_ide_helper.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?php
namespace ApolloPY\Flysystem\AliyunOss {
exit('This file should not be included, only analyzed by your IDE');
class FilesystemAdapter extends \Illuminate\Filesystem\FilesystemAdapter
{
/**
* Write using a local file path.
*
* @param string $path
* @param string $localFilePath
* @param array $config
* @return bool
*/
public function putFile($path, $localFilePath, array $config = [])
{
return Plugins\PutFile::handle($path, $localFilePath, $config);
}
/**
* Get the signed download url of a file.
*
* @param string $path
* @param int $expires
* @param string $host_name
* @param bool $use_ssl
* @return string|false
*/
public function signedDownloadUrl($path, $expires = 3600, $host_name = '', $use_ssl = false)
{
return Plugins\SignedDownloadUrl::handle($path, $expires, $host_name, $use_ssl);
}
}
}