private function getNextRun() { $next = Cron::getNextRun(); if (!$next) { return false; } $this->cronId = $next->id; $cl = ucfirst($this->cronId); $cl = "\\Helper\\Cron\\{$cl}"; $obj = new $cl(); return $obj; }