Toggle navigation
Hot Examples
PT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Pesquisar
Página Inicial
PHPDaemon
Cache
Item
addListener
PHPDaemon\Cache\Item::addListener PHP Method
Item Class Documentation
Exibir arquivo
Open project: kakserpom/phpdaemon
addListener()
public
method
Adds listener callback
public
addListener
(
callable
$cb
)
$cb
callable
public function addListener($cb) { $this->listeners->push($cb); }
Item
__construct
addListener
getHits
getValue
setValue