| Conditions | 2 |
| Paths | 2 |
| Total Lines | 9 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | public function addMeta($value, $direction=Direction::LEFT) { |
||
| 15 | if (\array_key_exists("meta", $this->content) === false) { |
||
| 16 | $this->content["meta"]=array (); |
||
| 17 | } |
||
| 18 | $meta=new HtmlSemDoubleElement("meta-" . \sizeof($this->content["meta"]) . "" . $this->identifier, "div", "meta", $value); |
||
| 19 | $this->content["meta"][]=$meta; |
||
| 20 | $meta->setFloated($direction); |
||
| 21 | return $meta; |
||
| 22 | } |
||
| 23 | |||
| 36 | } |