public function __construct($items = array(), $name = null, $attributes = array(), $element = null) { $this->children = $items; $this->name = $name; $this->attributes = $attributes; $this->element = $element; }