Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
PHPSpec2
Mocker
MockerInterface
willReturn
PHPSpec2\Mocker\MockerInterface::willReturn PHP Method
MockerInterface Interface Documentation
Show file
Open project: phpspec/phpspec2
willReturn()
public
method
public
willReturn
(
$expectation
,
$return
)
public function willReturn($expectation, $return);
MockerInterface
createExpectation
getExpectation
hasExpectation
makeDefault
mock
shouldBeCalled
shouldNotBeCalled
verify
willReturn
willReturnUsing
willThrow
withArguments