FileMock
class FileMock
Mock files.
Constants
private PROTOCOL |
|
Properties
static string[] | $files |
Methods
static string
create(string $content = '', string $extension = null)
No description
static void
register()
No description
bool
stream_open(string $path, string $mode)
No description
string
stream_read(int $length)
No description
int
stream_write(string $data)
No description
int
stream_tell()
No description
bool
stream_eof()
No description
bool
stream_seek(int $offset, int $whence)
No description
bool
stream_truncate(int $size)
No description
array
stream_stat()
No description
url_stat(string $path, int $flags)
No description
bool
stream_lock(int $operation)
No description
bool
unlink(string $path)
No description
Details
at line 45
static string
create(string $content = '', string $extension = null)
No description
at line 56
static void
register()
No description
at line 64
bool
stream_open(string $path, string $mode)
No description
at line 96
string
stream_read(int $length)
No description
at line 109
int
stream_write(string $data)
No description
at line 124
int
stream_tell()
No description
at line 130
bool
stream_eof()
No description
at line 136
bool
stream_seek(int $offset, int $whence)
No description
at line 153
bool
stream_truncate(int $size)
No description
at line 165
array
stream_stat()
No description
at line 171
url_stat(string $path, int $flags)
No description
at line 179
bool
stream_lock(int $operation)
No description
at line 185
bool
unlink(string $path)
No description