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

Наследование: extends Eloquent\Phony\Invocation\AbstractWrappedInvocable, implements Eloquent\Phony\Mock\Method\WrappedMethod
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$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