class FileMutator

PHP file mutator.

Constants

private PROTOCOL

Properties

resource|null $context

Methods

static void
addMutator(callable $mutator)

No description

void
dir_closedir()

No description

bool
dir_opendir(string $path, int $options)

No description

dir_readdir()

No description

bool
dir_rewinddir()

No description

bool
mkdir(string $path, int $mode, int $options)

No description

bool
rename(string $pathFrom, string $pathTo)

No description

bool
rmdir(string $path, int $options)

No description

stream_cast(int $castAs)

No description

void
stream_close()

No description

bool
stream_eof()

No description

bool
stream_flush()

No description

bool
stream_lock(int $operation)

No description

bool
stream_metadata(string $path, int $option, $value)

No description

bool
stream_open(string $path, string $mode, int $options, string|null $openedPath)

No description

stream_read(int $count)

No description

bool
stream_seek(int $offset, int $whence = SEEK_SET)

No description

stream_set_option(int $option, int $arg1, int $arg2)

No description

stream_stat()

No description

int
stream_tell()

No description

bool
stream_truncate(int $newSize)

No description

int
stream_write(string $data)

No description

bool
unlink(string $path)

No description

url_stat(string $path, int $flags)

No description

Details

at line 30
static void addMutator(callable $mutator)

No description

Parameters

callable $mutator

Return Value

void

at line 38
void dir_closedir()

No description

Return Value

void

at line 44
bool dir_opendir(string $path, int $options)

No description

Parameters

string $path
int $options

Return Value

bool

at line 53
dir_readdir()

No description

at line 59
bool dir_rewinddir()

No description

Return Value

bool

at line 65
bool mkdir(string $path, int $mode, int $options)

No description

Parameters

string $path
int $mode
int $options

Return Value

bool

at line 72
bool rename(string $pathFrom, string $pathTo)

No description

Parameters

string $pathFrom
string $pathTo

Return Value

bool

at line 78
bool rmdir(string $path, int $options)

No description

Parameters

string $path
int $options

Return Value

bool

at line 84
stream_cast(int $castAs)

No description

Parameters

int $castAs

at line 90
void stream_close()

No description

Return Value

void

at line 96
bool stream_eof()

No description

Return Value

bool

at line 102
bool stream_flush()

No description

Return Value

bool

at line 108
bool stream_lock(int $operation)

No description

Parameters

int $operation

Return Value

bool

at line 114
bool stream_metadata(string $path, int $option, $value)

No description

Parameters

string $path
int $option
$value

Return Value

bool

at line 133
bool stream_open(string $path, string $mode, int $options, string|null $openedPath)

No description

Parameters

string $path
string $mode
int $options
string|null $openedPath

Return Value

bool

at line 158
stream_read(int $count)

No description

Parameters

int $count

at line 164
bool stream_seek(int $offset, int $whence = SEEK_SET)

No description

Parameters

int $offset
int $whence

Return Value

bool

at line 170
stream_set_option(int $option, int $arg1, int $arg2)

No description

Parameters

int $option
int $arg1
int $arg2

at line 175
stream_stat()

No description

at line 181
int stream_tell()

No description

Return Value

int

at line 187
bool stream_truncate(int $newSize)

No description

Parameters

int $newSize

Return Value

bool

at line 193
int stream_write(string $data)

No description

Parameters

string $data

Return Value

int

No description

Parameters

string $path

Return Value

bool

at line 205
url_stat(string $path, int $flags)

No description

Parameters

string $path
int $flags