PHP Class mageekguy\atoum\mock\controller

Inheritance: extends mageekguy\atoum\test\adapter
Afficher le fichier Open project: atoum/atoum Class Usage Examples

Protected Properties

Свойство Type Description
$autoBind
$autoBindForNewMock
$controlNextNewMock
$iterator
$linker
$mockClass
$mockMethods

Méthodes publiques

Méthode Description
__construct ( )
__get ( $method )
__isset ( $method )
__set ( $method, $mixed )
__unset ( $method )
autoBindIsEnabled ( )
control ( mageekguy\atoum\mock\aggregator $mock )
controlNextNewMock ( )
disableAutoBind ( )
disableAutoBindForNewMock ( )
disableMethodChecking ( )
enableAutoBind ( )
enableAutoBindForNewMock ( )
get ( $unset = true )
getCalls ( call $call = null, $identical = false )
getForMock ( mageekguy\atoum\mock\aggregator $mock )
getIterator ( )
getMethods ( )
getMock ( )
getMockClass ( )
invoke ( $method, array $arguments = [] )
methods ( closure $filter = null )
methodsMatching ( $regex )
notControlNextNewMock ( )
reset ( )
setIterator ( mageekguy\atoum\mock\controller\iterator $iterator = null )
setLinker ( mageekguy\atoum\mock\controller\linker $linker = null )

Méthodes protégées

Méthode Description
buildCall ( $function, array $arguments )
buildInvoker ( $methodName, closure $factory = null )
checkMethod ( $method )
setInvoker ( $methodName, closure $factory = null )

Method Details

__construct() public méthode

public __construct ( )

__get() public méthode

public __get ( $method )

__isset() public méthode

public __isset ( $method )

__set() public méthode

public __set ( $method, $mixed )

__unset() public méthode

public __unset ( $method )

autoBindIsEnabled() public méthode

public autoBindIsEnabled ( )

buildCall() protected méthode

protected buildCall ( $function, array $arguments )
$arguments array

buildInvoker() protected méthode

protected buildInvoker ( $methodName, closure $factory = null )
$factory closure

checkMethod() protected méthode

protected checkMethod ( $method )

control() public méthode

public control ( mageekguy\atoum\mock\aggregator $mock )
$mock mageekguy\atoum\mock\aggregator

controlNextNewMock() public méthode

public controlNextNewMock ( )

disableAutoBind() public méthode

public disableAutoBind ( )

disableAutoBindForNewMock() public static méthode

public static disableAutoBindForNewMock ( )

disableMethodChecking() public méthode

enableAutoBind() public méthode

public enableAutoBind ( )

enableAutoBindForNewMock() public static méthode

public static enableAutoBindForNewMock ( )

get() public static méthode

public static get ( $unset = true )

getCalls() public méthode

public getCalls ( call $call = null, $identical = false )
$call mageekguy\atoum\test\adapter\call

getForMock() public static méthode

public static getForMock ( mageekguy\atoum\mock\aggregator $mock )
$mock mageekguy\atoum\mock\aggregator

getIterator() public méthode

public getIterator ( )

getMethods() public méthode

public getMethods ( )

getMock() public méthode

public getMock ( )

getMockClass() public méthode

public getMockClass ( )

invoke() public méthode

public invoke ( $method, array $arguments = [] )
$arguments array

methods() public méthode

public methods ( closure $filter = null )
$filter closure

methodsMatching() public méthode

public methodsMatching ( $regex )

notControlNextNewMock() public méthode

reset() public méthode

public reset ( )

setInvoker() protected méthode

protected setInvoker ( $methodName, closure $factory = null )
$factory closure

setIterator() public méthode

public setIterator ( mageekguy\atoum\mock\controller\iterator $iterator = null )
$iterator mageekguy\atoum\mock\controller\iterator

setLinker() public static méthode

public static setLinker ( mageekguy\atoum\mock\controller\linker $linker = null )
$linker mageekguy\atoum\mock\controller\linker

Property Details

$autoBind protected_oe property

protected $autoBind

$autoBindForNewMock protected_oe static_oe property

protected static $autoBindForNewMock

$controlNextNewMock protected_oe static_oe property

protected static $controlNextNewMock

$iterator protected_oe property

protected $iterator

$linker protected_oe static_oe property

protected static $linker

$mockClass protected_oe property

protected $mockClass

$mockMethods protected_oe property

protected $mockMethods