\Omega\Archive PharAdapter

Summary

Methods
Properties
Constants
__construct
open
close
read
write
delete
exists
keys
isDirectory
mtime
rename
No public properties found
No public constants found
No protected methods found
phar
No protected constants found
No private methods found
No private properties found
No private constants found

Properties

$phar

$phar : \Phar

Type

Phar

Methods

__construct()

__construct(string  $pharFile) : mixed

Parameters

string $pharFile

Returns

mixed —

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 —