Пример #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;
 }