PHP Класс Eloquent\Phony\Mock\Method\WrappedParentMethod

Наследование: extends AbstractWrappedMethod
Показать файл Открыть проект

Открытые методы

Метод Описание
__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.