public function getContent() { $value = $this->value; if ($value instanceof Tag) { $value = $value->render(); } return $value . $this->renderChildren(); }