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

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

보호된 프로퍼티들

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

공개 메소드들

메소드 설명
__construct ( string $name, ReflectionMethod $callMagicMethod, boolean $isUncallable, Eloquent\Phony\Mock\Handle\Handle $handle ) Construct a new wrapped magic method.
callMagicMethod ( ) : ReflectionMethod Get the method.
handle ( ) : Eloquent\Phony\Mock\Handle\Handle Get the handle.
invokeWith ( Arguments | array $arguments = [] ) : mixed Invoke this object.
isUncallable ( ) : boolean Returns true if uncallable.
mock ( ) : Mock | null Get the mock.
name ( ) : string Get the name.

메소드 상세

__construct() 공개 메소드

Construct a new wrapped magic method.
public __construct ( string $name, ReflectionMethod $callMagicMethod, boolean $isUncallable, Eloquent\Phony\Mock\Handle\Handle $handle )
$name string The name.
$callMagicMethod ReflectionMethod The _callMagic() method.
$isUncallable boolean True if the underlying magic method is uncallable.
$handle Eloquent\Phony\Mock\Handle\Handle The handle.

callMagicMethod() 공개 메소드

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

handle() 공개 메소드

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

invokeWith() 공개 메소드

This method supports reference parameters.
public invokeWith ( Arguments | array $arguments = [] ) : mixed
$arguments Eloquent\Phony\Call\Arguments | array The arguments.
리턴 mixed The result of invocation.

isUncallable() 공개 메소드

Returns true if uncallable.
public isUncallable ( ) : boolean
리턴 boolean True if uncallable.

mock() 공개 메소드

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

name() 공개 메소드

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

프로퍼티 상세

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

protected $callMagicMethod

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

protected $handle

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

protected $isUncallable

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

protected $mock

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

protected $name