src/SVGCreator/Element.php
public function append($element) {
			if ( true === $element instanceof \SVGCreator\Element ) {
				$this->childElements[] = $element;
				return $element;
			} else {
				$elementCreated = $this->factoryElement($element);
				$this->childElements[] = $elementCreated;
				return $elementCreated;
			}
		}
public function append($element) {
			if ( true === $element instanceof \SVGCreator\Element ) {
				$this->childElements[] = $element;
				return $element;
			} else {
				$elementCreated = $this->factoryElement($element);
				$this->childElements[] = $elementCreated;
				return $elementCreated;
			}
		}
Appends an element to the current element

@param  mixed            	$element 	The element to append to this element could be an object \SVGCreator\Element or a string of the type to create

@return \SVGCreator\Element 				The element append