Exemple #1
0
 /**
  * Called from parent task as soon as task is ready to run - which doesn't
  * necessarely mean that it'll be run.
  *
  * @return void
  */
 protected function initialize()
 {
     parent::initialize();
     if (!$this->assembled) {
         $this->assemble();
         $this->assembled = true;
     }
 }