@@ -49,6 +49,9 @@ discard block |
||
49 | 49 | $this->root->append($this); |
50 | 50 | } |
51 | 51 | |
52 | + /** |
|
53 | + * @param string $name |
|
54 | + */ |
|
52 | 55 | public function createElement($name, $value = null, $attributes = []) |
53 | 56 | { |
54 | 57 | return $this->root->createElement($name, $value, $attributes); |
@@ -106,6 +109,9 @@ discard block |
||
106 | 109 | $this->element->setAttribute($name, $value); |
107 | 110 | } |
108 | 111 | |
112 | + /** |
|
113 | + * @param string $name |
|
114 | + */ |
|
109 | 115 | public function getXLinkAttribute($name) |
110 | 116 | { |
111 | 117 | return $this->element->getAttributeNS('xlink', $name); |
@@ -154,6 +160,9 @@ discard block |
||
154 | 160 | return $element; |
155 | 161 | } |
156 | 162 | |
163 | + /** |
|
164 | + * @return ElementInterface |
|
165 | + */ |
|
157 | 166 | protected static function getDefs(ElementInterface $container) |
158 | 167 | { |
159 | 168 | if ($container instanceof Defs) { |