Пример #1
0
 /**
  * @param ScenarioInterface $scenario
  *
  * @return string
  */
 private function getTags(ScenarioInterface $scenario)
 {
     if (!$scenario->hasTags()) {
         return $this->indent();
     }
     return $this->indent() . (new Tags())->format($scenario->getTags()) . "\n";
 }
 private function getScenarioDescription(ScenarioInterface $scenario)
 {
     return ($scenario->hasTags() ? $this->indent() : '') . sprintf('%s: %s%s', trim($scenario->getKeyword()), trim($scenario->getTitle()), PHP_EOL);
 }