Example #1
0
 /**
  * {@inheritdoc}
  */
 public function setApplication(Application $application = null)
 {
     parent::setApplication($application);
     $this->getHelperSet()->set(new ValidatorHelper());
 }
Example #2
0
 /**
  * Show full task information
  *
  * @return $this
  */
 protected function showValue()
 {
     if ($this->hasInfoOption()) {
         $key = $this->getValue() ?: $this->getXpathValue($this->getXpath($this->getKey()));
         $key = $this->normalizeIssueKey($key);
         if ($key) {
             $this->output->writeln($this->getIssueOutputInfo($this->loadIssue($key)));
         }
     } else {
         parent::showValue();
     }
     return $this;
 }