CounterProvider
uses
Singleton
Table of Contents
Methods
-
__wakeup()
: mixed
-
get()
: Counter|null
-
getInstance()
: static
-
isNeededToShow()
: bool
__wakeup()
public
__wakeup() : mixed
get()
public
get(int $userId) : Counter|null
Parameters
-
$userId
: int
-
-
throws
-
ArgumentException
-
throws
-
ObjectPropertyException
-
throws
-
SystemException
getInstance()
public
static getInstance() : static
isNeededToShow()
public
isNeededToShow(int $userId) : bool
Parameters
-
$userId
: int
-
-
throws
-
ArgumentException
-
throws
-
ObjectPropertyException
-
throws
-
SystemException