/** * Allows to generate content after children content is generated * @param int $indentation * @return string */ public function getLineAfterChildren($indentation = null) { if ($this->getHasBody() === true) { return parent::getLineAfterChildren($indentation); } return ''; }