public function &getValue() { $value = []; foreach ($this as $k => $v) { if ($v instanceof Tag) { $value[$k] = $v; } } return $value; }