Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Eloquent
Phony
Stub
StubVerifier
returnsArgument
Eloquent\Phony\Stub\StubVerifier::returnsArgument PHP Method
StubVerifier Class Documentation
Datei anzeigen
Open project: eloquent/phony
returnsArgument()
public
method
Negative indices are offset from the end of the list. That is,
-1
indicates the last element, and
-2
indicates the second last element.
public
returnsArgument
(
integer
$index
)
$index
integer
The argument index.
public function returnsArgument($index = 0) { $this->stub->returnsArgument($index); return $this; }
StubVerifier
__construct
calls
callsArgument
callsArgumentWith
callsWith
closeRule
defaultAnswerCallback
does
doesWith
forwards
generates
label
returns
returnsArgument
returnsSelf
self
setDefaultAnswerCallback
setLabel
setSelf
setsArgument
stub
throws
with