예제 #1
0
파일: JoinWalk.php 프로젝트: vend/doxport
 /**
  * @return string
  */
 public function getTargetId()
 {
     return $this->walk->getVertexSource()->getId();
 }
예제 #2
0
파일: Export.php 프로젝트: vend/doxport
 /**
  * Store properties to be cleared
  *
  * Because we're only exporting data, we don't need to actually update
  * the data at all for the clear to be respected. We just need to modify
  * what we write to the exported files.
  *
  * @param \Fhaculty\Graph\Walk $walk
  * @param array $fields
  * @param array $joinFields
  * @return mixed
  */
 public function processClear(Walk $walk, array $fields, array $joinFields)
 {
     $this->clear[$walk->getVertexSource()->getId()] = ['fields' => $fields, 'joinFields' => $joinFields];
 }