add($this->createTitle()); if (! $this->isCaptionDisabled()) { $header->add($this->createCaption()); } $header->add($this->createTimestamp()); } protected function assembleMain(BaseHtmlElement $main) { $main->add($this->createHeader()); } }