PHP Class Phockito_WhenBuilder

Afficher le fichier Open project: hafriedlander/phockito

Protected Properties

Свойство Type Description
$i
$instance
$lastAction
$method

Méthodes publiques

Méthode Description
__call ( $called, $args ) Either record the method we're stubbing, or record the next stubbed response in the sequence if we know the stubbed method already
__construct ( $instance, $method = null, $args = null )

Private Methods

Méthode Description
__phockito_setMethod ( $method, $args ) Store the method and args we're stubbing

Method Details

__call() public méthode

To be as flexible as possible, we accept _any_ method with "return" in it as a return response, and anything with throw in it as a throw response.
public __call ( $called, $args )

__construct() public méthode

public __construct ( $instance, $method = null, $args = null )

Property Details

$i protected_oe property

protected $i

$instance protected_oe property

protected $instance

$lastAction protected_oe property

protected $lastAction

$method protected_oe property

protected $method