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($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

unlink($path)

No description

Details

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

No description

Parameters

$content
$extension

Return Value

string

file name

at line 48
static register()

No description

at line 56
stream_open($path, $mode)

No description

Parameters

$path
$mode

at line 86
stream_read($len)

No description

Parameters

$len

at line 98
stream_write($data)

No description

Parameters

$data

at line 113
stream_tell()

No description

at line 119
stream_eof()

No description

at line 125
stream_seek($offset, $whence)

No description

Parameters

$offset
$whence

at line 141
stream_truncate($size)

No description

Parameters

$size

at line 149
stream_stat()

No description

at line 155
url_stat($path, $flags)

No description

Parameters

$path
$flags

at line 163
stream_lock($operation)

No description

Parameters

$operation

No description

Parameters

$path