示例#1
0
 /**
  * Based on this operations parameters, generate a consistent id
  *
  * @return mixed
  */
 public function matchId()
 {
     return parent::matchId() . spl_object_hash($this->index) . $this->key . $this->value;
 }
示例#2
0
文件: Save.php 项目: jadz/neo4j-php
 /**
  * Build the operation
  *
  * @param Batch $batch
  * @param PropertyContainer $entity
  * @param integer $opId
  */
 public function __construct(Batch $batch, PropertyContainer $entity, $opId)
 {
     parent::__construct($batch, 'save', $entity, $opId);
 }