class FileMutator

internal  
 

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

bool
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

stream_write(string $data)

No description

bool
unlink(string $path)

No description

url_stat(string $path, int $flags)

No description

Details

at line 34
static void addMutator(callable $mutator)

No description

Parameters

callable $mutator

Return Value

void

at line 42
void dir_closedir()

No description

Return Value

void

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

No description

Parameters

string $path
int $options

Return Value

bool

at line 57
dir_readdir()

No description

at line 63
bool dir_rewinddir()

No description

Return Value

bool

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

No description

Parameters

string $path
int $mode
int $options

Return Value

bool

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

No description

Parameters

string $pathFrom
string $pathTo

Return Value

bool

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

No description

Parameters

string $path
int $options

Return Value

bool

at line 94
stream_cast(int $castAs)

No description

Parameters

int $castAs

at line 100
void stream_close()

No description

Return Value

void

at line 106
bool stream_eof()

No description

Return Value

bool

at line 112
bool stream_flush()

No description

Return Value

bool

at line 118
bool stream_lock(int $operation)

No description

Parameters

int $operation

Return Value

bool

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

No description

Parameters

string $path
int $option
$value

Return Value

bool

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

No description

Parameters

int $count

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

No description

Parameters

int $offset
int $whence

Return Value

bool

at line 183
bool stream_set_option(int $option, int $arg1, int $arg2)

No description

Parameters

int $option
int $arg1
int $arg2

Return Value

bool

at line 189
stream_stat()

No description

at line 195
int stream_tell()

No description

Return Value

int

at line 201
bool stream_truncate(int $newSize)

No description

Parameters

int $newSize

Return Value

bool

at line 207
stream_write(string $data)

No description

Parameters

string $data

No description

Parameters

string $path

Return Value

bool

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

No description

Parameters

string $path
int $flags