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
ShortifyPunit
ShortifyPunit
spy
ShortifyPunit\ShortifyPunit::spy PHP Method
ShortifyPunit Class Documentation
Show file
Open project: danrevah/shortifypunit
spy()
public
static
method
Deprecation:
use partialMock($mockedClass) instead
public
static
spy
(
$mockedClass
)
public static function spy($mockedClass) { return self::partialMock($mockedClass); }
ShortifyPunit
__callStatic
_addChainedResponse
_createChainResponse
_createResponse
_generateInstanceId
_isMethodStubbed
_setWhenMockResponse
getMockHierarchyResponse
getMockReflection
getReturnValues
mock
partialMock
setReturnValues
spy
verify
when