예제 #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
 /**
  * Build the operation
  *
  * @param Batch $batch
  * @param PropertyContainer $entity
  * @param integer $opId
  */
 public function __construct(Batch $batch, PropertyContainer $entity, $opId)
 {
     parent::__construct($batch, 'delete', $entity, $opId);
 }