spec\Prophecy\ProphetSpec::let PHP Метод

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

public let ( Prophecy\Doubler\Doubler $doubler, Prophecy\Prophecy\ProphecySubjectInterface $double )
$doubler Prophecy\Doubler\Doubler
$double Prophecy\Prophecy\ProphecySubjectInterface
    function let(Doubler $doubler, ProphecySubjectInterface $double)
    {
        $doubler->double(null, array())->willReturn($double);
        $this->beConstructedWith($doubler);
    }