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 31
static void addMutator(callable $mutator)

No description

Parameters

callable $mutator

Return Value

void

at line 39
void dir_closedir()

No description

Return Value

void

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

No description

Parameters

string $path
int $options

Return Value

bool

at line 54
dir_readdir()

No description

at line 60
bool dir_rewinddir()

No description

Return Value

bool

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

No description

Parameters

string $path
int $mode
int $options

Return Value

bool

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

No description

Parameters

string $pathFrom
string $pathTo

Return Value

bool

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

No description

Parameters

string $path
int $options

Return Value

bool

at line 91
stream_cast(int $castAs)

No description

Parameters

int $castAs

at line 97
void stream_close()

No description

Return Value

void

at line 103
bool stream_eof()

No description

Return Value

bool

at line 109
bool stream_flush()

No description

Return Value

bool

at line 115
bool stream_lock(int $operation)

No description

Parameters

int $operation

Return Value

bool

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

No description

Parameters

string $path
int $option
$value

Return Value

bool

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

No description

Parameters

int $count

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

No description

Parameters

int $offset
int $whence

Return Value

bool

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

No description

Parameters

int $option
int $arg1
int $arg2

Return Value

bool

at line 186
stream_stat()

No description

at line 192
int stream_tell()

No description

Return Value

int

at line 198
bool stream_truncate(int $newSize)

No description

Parameters

int $newSize

Return Value

bool

at line 204
stream_write(string $data)

No description

Parameters

string $data

No description

Parameters

string $path

Return Value

bool

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

No description

Parameters

string $path
int $flags