PHP Класс spec\Prophecy\Promise\ReturnPromiseSpec

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

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

Метод Описание
it_always_returns_last_value_left_in_the_return_values ( Prophecy\Prophecy\ObjectProphecy $object, Prophecy\Prophecy\MethodProphecy $method )
it_consequently_returns_multiple_values_it_was_constructed_with ( Prophecy\Prophecy\ObjectProphecy $object, Prophecy\Prophecy\MethodProphecy $method )
it_is_promise ( )
it_returns_null_if_constructed_with_empty_array ( Prophecy\Prophecy\ObjectProphecy $object, Prophecy\Prophecy\MethodProphecy $method )
it_returns_value_it_was_constructed_with ( Prophecy\Prophecy\ObjectProphecy $object, Prophecy\Prophecy\MethodProphecy $method )
let ( )

Описание методов

it_always_returns_last_value_left_in_the_return_values() публичный метод

public it_always_returns_last_value_left_in_the_return_values ( Prophecy\Prophecy\ObjectProphecy $object, Prophecy\Prophecy\MethodProphecy $method )
$object Prophecy\Prophecy\ObjectProphecy
$method Prophecy\Prophecy\MethodProphecy

it_consequently_returns_multiple_values_it_was_constructed_with() публичный метод

public it_consequently_returns_multiple_values_it_was_constructed_with ( Prophecy\Prophecy\ObjectProphecy $object, Prophecy\Prophecy\MethodProphecy $method )
$object Prophecy\Prophecy\ObjectProphecy
$method Prophecy\Prophecy\MethodProphecy

it_is_promise() публичный метод

public it_is_promise ( )

it_returns_null_if_constructed_with_empty_array() публичный метод

public it_returns_null_if_constructed_with_empty_array ( Prophecy\Prophecy\ObjectProphecy $object, Prophecy\Prophecy\MethodProphecy $method )
$object Prophecy\Prophecy\ObjectProphecy
$method Prophecy\Prophecy\MethodProphecy

it_returns_value_it_was_constructed_with() публичный метод

public it_returns_value_it_was_constructed_with ( Prophecy\Prophecy\ObjectProphecy $object, Prophecy\Prophecy\MethodProphecy $method )
$object Prophecy\Prophecy\ObjectProphecy
$method Prophecy\Prophecy\MethodProphecy

let() публичный метод

public let ( )