Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Eloquent
Phony
Stub
Stub
setsArgument
Eloquent\Phony\Stub\Stub::setsArgument PHP Метод
Документация по интерфейсу Stub
Показать файл
Открыть проект
setsArgument()
публичный
Метод
If called with no arguments, sets the first argument to null. If called with one argument, sets the first argument to $indexOrValue. If called with two arguments, sets the argument at $indexOrValue to $value.
public
setsArgument
(
mixed
$indexOrValue
= null,
mixed
$value
= null )
$indexOrValue
mixed
The index, or value if no index is specified.
$value
mixed
The value.
public function setsArgument($indexOrValue = null, $value = null);
Stub
calls
callsArgument
callsArgumentWith
callsWith
closeRule
defaultAnswerCallback
does
doesWith
forwards
generates
returns
returnsArgument
returnsSelf
self
setDefaultAnswerCallback
setSelf
setsArgument
throws
with