tags[] = ''; } public function beginChildren(): void { $this->tags[] = '
  • '; $currentSet = $this->getSubIterator(); $state = $currentSet->getState() ? 'fulfilled' : ($currentSet->isOptional() ? 'not-available' : 'missing'); $this->tags[] = ''; $this->tags[] = '
  • '; } public function render() { foreach ($this as $requirement) { $this->tags[] = '
  • '; $this->tags[] = '

    ' . $requirement->getTitle() . '

    '; $this->tags[] = '
    '; $descriptions = $requirement->getDescriptions(); if (count($descriptions) > 1) { $this->tags[] = ''; } elseif (! empty($descriptions)) { $this->tags[] = $descriptions[0]; } $this->tags[] = '
    '; $this->tags[] = '
    ' . $requirement->getStateText() . '
    '; $this->tags[] = '
  • '; } return implode("\n", $this->tags); } public function __toString() { return $this->render(); } }