예제 #1
0
 /**
  * __construct()
  *
  * @param string $name    Task name
  * @param array  $options Options
  */
 public function __construct($name, array $options = array())
 {
     parent::__construct();
     Assertion::string($name);
     Assertion::notEmpty($name);
     $this->name = $name;
     $this->logger = new NullLogger();
     $this->output = new NullOutputHandler();
     $this->setOptions($options);
 }
예제 #2
0
 public function retry()
 {
     parent::retry();
 }
예제 #3
0
 /**
  * __construct()
  *
  * @param int $failCount
  */
 public function __construct($failCount)
 {
     parent::__construct();
     $this->failCount = (int) $failCount;
     $this->runCounter = 0;
 }
 /**
  * __construct()
  */
 public function __construct()
 {
     parent::__construct();
     $this->runCounter = 0;
 }