PHP 클래스 Phockito_WhenBuilder

파일 보기 프로젝트 열기: hafriedlander/phockito

보호된 프로퍼티들

프로퍼티 타입 설명
$i
$instance
$lastAction
$method

공개 메소드들

메소드 설명
__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 )

비공개 메소드들

메소드 설명
__phockito_setMethod ( $method, $args ) Store the method and args we're stubbing

메소드 상세

__call() 공개 메소드

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 __construct ( $instance, $method = null, $args = null )

프로퍼티 상세

$i 보호되어 있는 프로퍼티

protected $i

$instance 보호되어 있는 프로퍼티

protected $instance

$lastAction 보호되어 있는 프로퍼티

protected $lastAction

$method 보호되어 있는 프로퍼티

protected $method