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 51
dir_readdir()

No description

at line 57
bool dir_rewinddir()

No description

Return Value

bool

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

No description

Parameters

string $path
int $mode
int $options

Return Value

bool

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

No description

Parameters

string $pathFrom
string $pathTo

Return Value

bool

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

No description

Parameters

string $path
int $options

Return Value

bool

at line 81
stream_cast(int $castAs)

No description

Parameters

int $castAs

at line 87
void stream_close()

No description

Return Value

void

at line 93
bool stream_eof()

No description

Return Value

bool

at line 99
bool stream_flush()

No description

Return Value

bool

at line 105
bool stream_lock(int $operation)

No description

Parameters

int $operation

Return Value

bool

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

No description

Parameters

string $path
int $option
$value

Return Value

bool

at line 130
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 155
stream_read(int $count)

No description

Parameters

int $count

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

No description

Parameters

int $offset
int $whence

Return Value

bool

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

No description

Parameters

int $option
int $arg1
int $arg2

at line 172
stream_stat()

No description

at line 178
int stream_tell()

No description

Return Value

int

at line 184
bool stream_truncate(int $newSize)

No description

Parameters

int $newSize

Return Value

bool

at line 190
int stream_write(string $data)

No description

Parameters

string $data

Return Value

int

No description

Parameters

string $path

Return Value

bool

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

No description

Parameters

string $path
int $flags