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
Eloquent
Phony
Spy
SpyData
eventCount
Eloquent\Phony\Spy\SpyData::eventCount PHP Method
SpyData Class Documentation
Show file
Open project: eloquent/phony
eventCount()
public
method
Get the number of events.
public
eventCount
( ) :
integer
return
integer
The event count.
public function eventCount() { return count($this->calls); }
SpyData
__construct
addCall
allCalls
allEvents
callAt
callCount
count
eventAt
eventCount
firstCall
firstEvent
getIterator
hasCalls
hasEvents
invokeWith
lastCall
lastEvent
nextIndex
normalizeIndex
setCalls
setUseGeneratorSpies
setUseIterableSpies
startRecording
stopRecording
useGeneratorSpies
useIterableSpies