class FileMock

Mock files.

Constants

PROTOCOL

Properties

static string[] $files

Methods

static string
create($content, $extension = NULL)

No description

stream_open($path, $mode)

No description

stream_read($len)

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

Details

at line 31
static string create($content, $extension = NULL)

No description

Parameters

$content
$extension

Return Value

string

file name

at line 43
stream_open($path, $mode)

No description

Parameters

$path
$mode

at line 51
stream_read($len)

No description

Parameters

$len

at line 59
stream_write($data)

No description

Parameters

$data

at line 70
stream_tell()

No description

at line 76
stream_eof()

No description

at line 82
stream_seek($offset, $whence)

No description

Parameters

$offset
$whence

at line 98
stream_truncate($size)

No description

Parameters

$size

at line 106
stream_stat()

No description

at line 112
url_stat($path, $flags)

No description

Parameters

$path
$flags

at line 120
stream_lock($operation)

No description

Parameters

$operation