Common Queue plugin tasks properties and methods to be extended by custom tasks.
Inheritance: extends Cake\Console\Shell
 /**
  * Constructs this Shell instance.
  *
  * @param \Cake\Console\ConsoleIo|null $io IO
  */
 public function __construct(ConsoleIo $io = null)
 {
     parent::__construct($io);
     $this->file = TMP . 'task_retry.txt';
 }
Ejemplo n.º 2
0
 /**
  *  Constructs this Shell instance.
  *
  * @param ConsoleOutput $stdout A ConsoleOutput object for stdout.
  * @param ConsoleOutput $stderr A ConsoleOutput object for stderr.
  * @param ConsoleInput $stdin A ConsoleInput object for stdin.
  */
 public function __construct($stdout = null, $stderr = null, $stdin = null)
 {
     parent::__construct($stdout, $stderr, $stdin);
     $this->file = TMP . 'task_retry.txt';
 }