/**
  * Creates a segment instance
  *
  * @param string $marker
  * @param [:var] $data
  */
 public function __construct($marker, $data)
 {
     parent::__construct($marker, null);
     $this->data = $data;
 }
 /**
  * Creates a segment instance
  *
  * @param string $marker
  * @param xml.dom.Document document
  */
 public function __construct($marker, Document $document)
 {
     parent::__construct($marker, null);
     $this->document = $document;
 }