Esempio n. 1
0
 /**
  * Constructor.
  *
  * @param object          $document
  * @param DocumentManager $dm
  * @param array           $changeSet
  */
 public function __construct($document, DocumentManager $dm, array &$changeSet)
 {
     parent::__construct($document, $dm);
     $this->documentChangeSet =& $changeSet;
 }
Esempio n. 2
0
 /**
  * Constructor.
  *
  * @param object          $document
  * @param DocumentManager $dm
  * @param array           $data     Array of data to be loaded and hydrated
  */
 public function __construct($document, DocumentManager $dm, array &$data)
 {
     parent::__construct($document, $dm);
     $this->data =& $data;
 }