\Omega\Archive ArchiveAdapterInterface

Summary

Methods
Constants
open()
close()
read()
write()
delete()
exists()
keys()
isDirectory()
mtime()
rename()
No public constants found

Methods

open()

open(string  $file) : void

Parameters

string $file

Returns

void —

close()

close() : void

Returns

void —

read()

read(string  $key) : string|bool

Parameters

string $key

Returns

string|bool —

write()

write(string  $key, string  $content) : int|bool

Parameters

string $key
string $content

Returns

int|bool —

delete()

delete(string  $key) : bool

Parameters

string $key

Returns

bool —

exists()

exists(string  $key) : bool

Parameters

string $key

Returns

bool —

keys()

keys() : array

Returns

array —

isDirectory()

isDirectory(string  $key) : bool

Parameters

string $key

Returns

bool —

mtime()

mtime(string  $key) : int|bool

Parameters

string $key

Returns

int|bool —

rename()

rename(string  $sourceKey, string  $targetKey) : bool

Parameters

string $sourceKey
string $targetKey

Returns

bool —