Esempio n. 1
0
 /**
  * @return string
  */
 public function getTargetId()
 {
     return $this->walk->getVertexSource()->getId();
 }
Esempio n. 2
0
 /**
  * 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];
 }