public function addMeta($value, $direction = Direction::LEFT) { if (\array_key_exists("meta", $this->content) === false) { $this->content["meta"] = new HtmlSemDoubleElement("meta-" . $this->identifier, "div", "meta", array()); } if ($direction === Direction::RIGHT) { $value = new HtmlSemDoubleElement("", "span", "", $value); $value->setFloated($direction); } $this->content["meta"]->addContent($value); return $this->content["meta"]; }