/** * __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); }
public function retry() { parent::retry(); }
/** * __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; }