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

상속: extends AbstractWrappedMethod
파일 보기 프로젝트 열기: eloquent/phony

공개 메소드들

메소드 설명
__construct ( ReflectionMethod $callParentMethod, ReflectionMethod $method, Eloquent\Phony\Mock\Handle\Handle $handle ) Construct a new wrapped parent method.
callParentMethod ( ) : ReflectionMethod Get the _callParent() method.
invokeWith ( Arguments | array $arguments = [] ) : mixed Invoke this object.

메소드 상세

__construct() 공개 메소드

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

callParentMethod() 공개 메소드

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

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.