Пример #1
0
 /**
  * Creates a segment instance
  *
  * @param string $marker
  * @param [:var] $data
  */
 public function __construct($marker, $data)
 {
     parent::__construct($marker, null);
     $this->data = $data;
 }
Пример #2
0
 /**
  * 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;
 }