PHP Class mageekguy\atoum\mock\stream

显示文件 Open project: atoum/atoum Class Usage Examples

Protected Properties

Property Type Description
$adapter
$protocols
$streamController
$streams

Public Methods

Method Description
__call ( $method, array $arguments )
get ( $name = null )
getAdapter ( )
getProtocol ( $stream )
getSubStream ( mageekguy\atoum\mock\stream\controller $controller, $stream = null )
setAdapter ( mageekguy\atoum\adapter $adapter )
setDirectorySeparator ( $stream, $directorySeparator = DIRECTORY_SEPARATOR )

Protected Methods

Method Description
findControllerForStream ( $path )
getController ( $stream )
getControllerFromArguments ( $method, array $arguments )
setControllerForMethod ( $method, array $arguments )

Method Details

__call() public method

public __call ( $method, array $arguments )
$arguments array

findControllerForStream() protected static method

protected static findControllerForStream ( $path )

get() public static method

public static get ( $name = null )

getAdapter() public static method

public static getAdapter ( )

getController() protected static method

protected static getController ( $stream )

getControllerFromArguments() protected static method

protected static getControllerFromArguments ( $method, array $arguments )
$arguments array

getProtocol() public static method

public static getProtocol ( $stream )

getSubStream() public static method

public static getSubStream ( mageekguy\atoum\mock\stream\controller $controller, $stream = null )
$controller mageekguy\atoum\mock\stream\controller

setAdapter() public static method

public static setAdapter ( mageekguy\atoum\adapter $adapter )
$adapter mageekguy\atoum\adapter

setControllerForMethod() protected method

protected setControllerForMethod ( $method, array $arguments )
$arguments array

setDirectorySeparator() public static method

public static setDirectorySeparator ( $stream, $directorySeparator = DIRECTORY_SEPARATOR )

Property Details

$adapter protected_oe static_oe property

protected static $adapter

$protocols protected_oe static_oe property

protected static $protocols

$streamController protected_oe property

protected $streamController

$streams protected_oe static_oe property

protected static $streams