Toggle navigation
Hot Examples
JP
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
検索
Home
Eloquent
Phony
Mock
Handle
Handle
stub
Eloquent\Phony\Mock\Handle\Handle::stub PHP Method
Handle Interface Documentation
ファイルを表示
Open project: eloquent/phony
stub()
public
method
Get a stub verifier.
public
stub
(
string
$name
,
boolean
$isNewRule
= true ) :
StubVerifier
$name
string
The method name.
$isNewRule
boolean
True if a new rule should be started.
return
Eloquent\Phony\Stub\StubVerifier
The stub verifier.
public function stub($name, $isNewRule = true);
Handle
__get
checkNoInteraction
className
clazz
defaultAnswerCallback
full
noInteraction
partial
proxy
setDefaultAnswerCallback
spy
startRecording
state
stopRecording
stub