\mageekguy\atoum\mock\streams\fs\filecontroller

Summary

Methods
Properties
Constants
__construct()
getAdapter()
setAdapter()
exists()
notExists()
isNotReadable()
isReadable()
isNotWritable()
isWritable()
isNotExecutable()
isExecutable()
setPermissions()
getPermissions()
duplicate()
getStat()
stream_stat()
url_stat()
__toString()
__get()
__set()
__isset()
setPath()
getPath()
getBasename()
invoke()
__clone()
__unset()
__sleep()
getInvokers()
setCalls()
getCalls()
getCallsNumber()
getCallsEqualTo()
getCallsNumberEqualTo()
getCallsIdenticalTo()
getPreviousCalls()
hasPreviousCalls()
getAfterCalls()
hasAfterCalls()
getCallNumber()
getTimeline()
resetCalls()
reset()
addCall()
setStorage()
__call()
getPointer()
setContents()
getContents()
contains()
isEmpty()
stream_open()
stream_seek()
stream_eof()
stream_tell()
stream_read()
stream_write()
stream_flush()
stream_metadata()
stream_truncate()
stream_lock()
stream_close()
unlink()
rename()
mkdir()
dir_opendir()
dir_readdir()
dir_rewinddir()
dir_closedir()
rmdir()
No public properties found
No constants found
setStat()
clearStatCache()
addPermission()
removePermissions()
checkIfReadable()
checkIfWritable()
checkPermission()
mapMethod()
buildInvoker()
setInvoker()
callIsOverloaded()
nextCallIsOverloaded()
buildCall()
getKey()
isLanguageConstruct()
getArgumentsFilter()
truncate()
seek()
setOpenMode()
setPointer()
movePointer()
getRawOpenMode()
checkOpenMode()
$adapter
$exists
$stat
$path
$calls
$invokers
$read
$write
$eof
$pointer
$offset
$append
$contents
N/A
No private methods found
$storage
N/A

Properties

$adapter

$adapter : 

Type

$exists

$exists : 

Type

$stat

$stat : 

Type

$path

$path : 

Type

$calls

$calls : 

Type

$invokers

$invokers : 

Type

$read

$read : 

Type

$write

$write : 

Type

$eof

$eof : 

Type

$pointer

$pointer : 

Type

$offset

$offset : 

Type

$append

$append : 

Type

$contents

$contents : 

Type

$storage

$storage : 

Type

Methods

__construct()

__construct(  $path) 

Parameters

$path

getAdapter()

getAdapter() 

exists()

exists() 

notExists()

notExists() 

isNotReadable()

isNotReadable() 

isReadable()

isReadable() 

isNotWritable()

isNotWritable() 

isWritable()

isWritable() 

isNotExecutable()

isNotExecutable() 

isExecutable()

isExecutable() 

setPermissions()

setPermissions(  $permissions) 

Parameters

$permissions

getPermissions()

getPermissions() 

duplicate()

duplicate() 

getStat()

getStat() 

stream_stat()

stream_stat() 

url_stat()

url_stat(  $path,   $flags) 

Parameters

$path
$flags

__toString()

__toString() 

__get()

__get(  $functionName) 

Parameters

$functionName

__set()

__set(  $method,   $value) 

Parameters

$method
$value

__isset()

__isset(  $functionName) 

Parameters

$functionName

setPath()

setPath(  $path) 

Parameters

$path

getPath()

getPath() 

getBasename()

getBasename() 

invoke()

invoke(  $functionName, array  $arguments = array()) 

Parameters

$functionName
array $arguments

__clone()

__clone() 

__unset()

__unset(  $functionName) 

Parameters

$functionName

__sleep()

__sleep() 

getInvokers()

getInvokers() 

getPreviousCalls()

getPreviousCalls(\mageekguy\atoum\test\adapter\call  $call,   $position,   $identical = false) 

Parameters

\mageekguy\atoum\test\adapter\call $call
$position
$identical

hasPreviousCalls()

hasPreviousCalls(\mageekguy\atoum\test\adapter\call  $call,   $position,   $identical = false) 

Parameters

\mageekguy\atoum\test\adapter\call $call
$position
$identical

getAfterCalls()

getAfterCalls(\mageekguy\atoum\test\adapter\call  $call,   $position,   $identical = false) 

Parameters

\mageekguy\atoum\test\adapter\call $call
$position
$identical

hasAfterCalls()

hasAfterCalls(\mageekguy\atoum\test\adapter\call  $call,   $position,   $identical = false) 

Parameters

\mageekguy\atoum\test\adapter\call $call
$position
$identical

resetCalls()

resetCalls(  $functionName = null) 

Parameters

$functionName

reset()

reset() 

addCall()

addCall(  $functionName, array  $arguments = array()) 

Parameters

$functionName
array $arguments

__call()

__call(  $functionName,   $arguments) 

Parameters

$functionName
$arguments

getPointer()

getPointer() 

setContents()

setContents(  $contents) 

Parameters

$contents

getContents()

getContents() 

contains()

contains(  $contents) 

Parameters

$contents

isEmpty()

isEmpty() 

stream_open()

stream_open(  $path,   $mode,   $options,   $openedPath = null) 

Parameters

$path
$mode
$options
$openedPath

stream_seek()

stream_seek(  $offset,   $whence = SEEK_SET) 

Parameters

$offset
$whence

stream_eof()

stream_eof() 

stream_tell()

stream_tell() 

stream_read()

stream_read(  $count) 

Parameters

$count

stream_write()

stream_write(  $data) 

Parameters

$data

stream_flush()

stream_flush() 

stream_metadata()

stream_metadata(  $path,   $option,   $value) 

Parameters

$path
$option
$value

stream_truncate()

stream_truncate(  $newSize) 

Parameters

$newSize

stream_lock()

stream_lock(  $mode) 

Parameters

$mode

stream_close()

stream_close() 

unlink()

unlink(  $path) 

Parameters

$path

rename()

rename(  $from,   $to) 

Parameters

$from
$to

mkdir()

mkdir(  $path,   $mode,   $options) 

Parameters

$path
$mode
$options

dir_opendir()

dir_opendir(  $path,   $options) 

Parameters

$path
$options

dir_readdir()

dir_readdir() 

dir_rewinddir()

dir_rewinddir() 

dir_closedir()

dir_closedir() 

rmdir()

rmdir(  $path,   $options) 

Parameters

$path
$options

setStat()

setStat(  $name,   $value) 

Parameters

$name
$value

clearStatCache()

clearStatCache() 

addPermission()

addPermission(  $permissions) 

Parameters

$permissions

removePermissions()

removePermissions(  $permissions) 

Parameters

$permissions

checkIfReadable()

checkIfReadable() 

checkIfWritable()

checkIfWritable() 

checkPermission()

checkPermission(  $user,   $group,   $other) 

Parameters

$user
$group
$other

mapMethod()

mapMethod(  $method) 

Parameters

$method

buildInvoker()

buildInvoker(  $functionName, \closure  $factory = null) 

Parameters

$functionName
\closure $factory

setInvoker()

setInvoker(  $functionName, \closure  $factory = null) 

Parameters

$functionName
\closure $factory

callIsOverloaded()

callIsOverloaded(  $functionName,   $call) 

Parameters

$functionName
$call

nextCallIsOverloaded()

nextCallIsOverloaded(  $functionName) 

Parameters

$functionName

buildCall()

buildCall(  $function, array  $arguments) 

Parameters

$function
array $arguments

getKey()

getKey(  $functionName) 

Parameters

$functionName

isLanguageConstruct()

isLanguageConstruct(  $functionName) 

Parameters

$functionName

getArgumentsFilter()

getArgumentsFilter(  $arguments,   $identicalArguments) 

Parameters

$arguments
$identicalArguments

truncate()

truncate(  $newSize) 

Parameters

$newSize

seek()

seek(  $offset,   $whence = SEEK_SET) 

Parameters

$offset
$whence

setOpenMode()

setOpenMode(  $mode) 

Parameters

$mode

setPointer()

setPointer(  $pointer) 

Parameters

$pointer

movePointer()

movePointer(  $offset) 

Parameters

$offset

getRawOpenMode()

getRawOpenMode(  $mode) 

Parameters

$mode

checkOpenMode()

checkOpenMode(  $mode) 

Parameters

$mode