Exemple #1
0
 /**
  * Register the process to go again at a specified time with the optional new input data.
  *
  * @param int|string $run_datetime either a string of the future datetime, or an int representing the minutes after the current datetime
  * @param array $new_data an option array of new data to be added to the class
  * @throws ProcessException if the run_datetime is invalid
  */
 protected function goAgain($run_datetime, array $new_data = array())
 {
     $this->fill($new_data);
     Processor::register($this, $run_datetime);
 }
 /**
  * Execute the console command.
  *
  * @return mixed
  */
 public function fire()
 {
     $processor = new Processor();
     $processor->run();
 }
 /**
  * Execute the console command.
  *
  * @return mixed
  */
 public function handle()
 {
     $processor = new Processor();
     $processor->run();
 }