class AwsS3Client implements FilesystemInterface (View source)

Methods

__construct(array $config)

AS3Client constructor.

null|string
get(string $url)

No description

bool
copy(string $url, string $to)

No description

Result
deleteDirectory(string $url)

No description

Result
visibility($url)

No description

bool
put(string $url, string $data, string $visibility = 'private')

No description

boolean
delete($url)

No description

mixed
rename(string $url, string $new)

No description

bool
exists(string $key)

No description

S3Client
getS3Instance()

No description

string
version()

No description

mixed
store(array $file, string $location, array $option = [])

No description

bool
append(string $file, string $content)

No description

bool
prepend(string $file, string $content)

No description

array
files(string $dirname)

No description

array
directories(string $dirname)

No description

boolean
makeDirectory(string $dirname, int $mode = 0777, bool $recursive = false)

No description

move($targer_file, $source_file)

No description

string
extension($filename)

No description

bool
isFile($filename)

No description

bool
isDirectory($dirname)

No description

string
resolvePath($filename)

No description

Details

__construct(array $config)

AS3Client constructor.

Parameters

array $config

null|string get(string $url)

Parameters

string $url

Return Value

null|string

bool copy(string $url, string $to)

Parameters

string $url
string $to

Return Value

bool

Result deleteDirectory(string $url)

Parameters

string $url

Return Value

Result

Result visibility($url)

Parameters

$url

Return Value

Result

bool put(string $url, string $data, string $visibility = 'private')

Parameters

string $url
string $data
string $visibility

Return Value

bool

boolean delete($url)

Parameters

$url

Return Value

boolean

mixed rename(string $url, string $new)

Parameters

string $url
string $new

Return Value

mixed

bool exists(string $key)

Parameters

string $key

Return Value

bool

S3Client getS3Instance()

Return Value

S3Client

string version()

Return Value

string

mixed store(array $file, string $location, array $option = [])

Parameters

array $file
string $location
array $option

Return Value

mixed

bool append(string $file, string $content)

Parameters

string $file nom du fichier
string $content content a ajouter

Return Value

bool

bool prepend(string $file, string $content)

Parameters

string $file
string $content

Return Value

bool

array files(string $dirname)

Parameters

string $dirname

Return Value

array

array directories(string $dirname)

Parameters

string $dirname

Return Value

array

boolean makeDirectory(string $dirname, int $mode = 0777, bool $recursive = false)

Parameters

string $dirname
int $mode
bool $recursive

Return Value

boolean

move($targer_file, $source_file)

Parameters

$targer_file
$source_file

string extension($filename)

Parameters

$filename

Return Value

string

bool isFile($filename)

Parameters

$filename

Return Value

bool

bool isDirectory($dirname)

Parameters

$dirname

Return Value

bool

string resolvePath($filename)

Parameters

$filename

Return Value

string