__construct() __construct( $data, integer $lineno) Constructor. The nodes are automatically made available as properties ($this->node). The attributes are automatically made available as array items ($this['name']). Parameters $data integer $lineno The line number