/** * @param null|int|string $name Optional name for the element * @param array $attributes * @param array $options Optional options for the element */ public function __construct($name = null, $attributes = array(), $options = array()) { $this->iterator = new PriorityQueue(); parent::__construct($name, $attributes, $options); }