/** * Callback called after the CTCP PING timeout is reached. * * @param \React\EventLoop\Timer\TimerInterface $caller */ public function callbackGrimReaper(TimerInterface $caller) { $connection = $caller->getData(); $this->getLogger()->debug('CTCP PING timeout reached, closing connection'); $this->getEventQueueFactory()->getEventQueue($connection)->ircQuit(); }
/** * @return mixed */ public function getData() { return $this->timer->getData(); }