getNextRun() public static method

public static getNextRun ( )
Beispiel #1
0
 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;
 }