/** * 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; }
/** * 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); }