/**
  * Constructor.
  *
  * @param object $entity
  * @param ObjectManager $objectManager
  * @param array $changeSet
  */
 public function __construct($entity, ObjectManager $objectManager, array &$changeSet)
 {
     parent::__construct($entity, $objectManager);
     $this->entityChangeSet =& $changeSet;
 }
 /**
  * Constructor
  *
  * @param object                   $document
  * @param DocumentManagerInterface $dm
  * @param string                   $sourcePath Path the document is moved from
  * @param string                   $targetPath Path the document is moved to, including target name
  */
 public function __construct($document, DocumentManagerInterface $dm, $sourcePath, $targetPath)
 {
     parent::__construct($document, $dm);
     $this->sourcePath = $sourcePath;
     $this->targetPath = $targetPath;
 }