PHPDaemon\Core\Timer::eventCall PHP Method

eventCall() public method

Called when timer is triggered
public eventCall ( ) : void
return void
    public function eventCall()
    {
        try {
            //Daemon::log('cb - '.Debug::zdump($this->cb));
            $func = $this->cb;
            $func($this);
        } catch (\Exception $e) {
            Daemon::uncaughtExceptionHandler($e);
        }
    }