PHP Class spec\Prophecy\Promise\ReturnPromiseSpec

Inheritance: extends PhpSpec\ObjectBehavior
Show file Open project: phpspec/prophecy

Public Methods

Method Description
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 ( )

Method Details

it_always_returns_last_value_left_in_the_return_values() public method

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 method

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 method

public it_is_promise ( )

it_returns_null_if_constructed_with_empty_array() public method

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 method

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 method

public let ( )