PHP 클래스 Eloquent\Phony\Mock\Method\AbstractWrappedMethod

상속: extends Eloquent\Phony\Invocation\AbstractWrappedInvocable, implements Eloquent\Phony\Mock\Method\WrappedMethod
파일 보기 프로젝트 열기: eloquent/phony 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$handle
$method
$mock
$name

공개 메소드들

메소드 설명
__construct ( ReflectionMethod $method, Eloquent\Phony\Mock\Handle\Handle $handle ) Construct a new wrapped method.
handle ( ) : Eloquent\Phony\Mock\Handle\Handle Get the handle.
method ( ) : ReflectionMethod Get the method.
mock ( ) : Eloquent\Phony\Mock\Mock | null Get the mock.
name ( ) : string Get the name.

메소드 상세

__construct() 공개 메소드

Construct a new wrapped method.
public __construct ( ReflectionMethod $method, Eloquent\Phony\Mock\Handle\Handle $handle )
$method ReflectionMethod The method.
$handle Eloquent\Phony\Mock\Handle\Handle The handle.

handle() 공개 메소드

Get the handle.
public handle ( ) : Eloquent\Phony\Mock\Handle\Handle
리턴 Eloquent\Phony\Mock\Handle\Handle The handle.

method() 공개 메소드

Get the method.
public method ( ) : ReflectionMethod
리턴 ReflectionMethod The method.

mock() 공개 메소드

Get the mock.
public mock ( ) : Eloquent\Phony\Mock\Mock | null
리턴 Eloquent\Phony\Mock\Mock | null The mock.

name() 공개 메소드

Get the name.
public name ( ) : string
리턴 string The name.

프로퍼티 상세

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

protected $handle

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

protected $method

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

protected $mock

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

protected $name