class FileMock

Mock files.

Constants

PROTOCOL

Properties

static string[] $files

Methods

static string
create($content = '', $extension = null)

No description

static 
register()

No description

stream_open($path, $mode)

No description

stream_read($length)

No description

stream_write($data)

No description

stream_tell()

No description

stream_eof()

No description

stream_seek($offset, $whence)

No description

stream_truncate($size)

No description

stream_stat()

No description

url_stat($path, $flags)

No description

stream_lock($operation)

No description

unlink($path)

No description

Details

at line 43
static string create($content = '', $extension = null)

No description

Parameters

$content
$extension

Return Value

string

file name

at line 54
static register()

No description

at line 62
stream_open($path, $mode)

No description

Parameters

$path
$mode

at line 94
stream_read($length)

No description

Parameters

$length

at line 107
stream_write($data)

No description

Parameters

$data

at line 122
stream_tell()

No description

at line 128
stream_eof()

No description

at line 134
stream_seek($offset, $whence)

No description

Parameters

$offset
$whence

at line 151
stream_truncate($size)

No description

Parameters

$size

at line 163
stream_stat()

No description

at line 169
url_stat($path, $flags)

No description

Parameters

$path
$flags

at line 177
stream_lock($operation)

No description

Parameters

$operation

No description

Parameters

$path