/** * Build the operation * * @param Batch $batch * @param Index $index * @param PropertyContainer $entity * @param string $key * @param string $value * @param integer $opId */ public function __construct(Batch $batch, Index $index, PropertyContainer $entity, $key, $value, $opId) { parent::__construct($batch, 'removefrom', $entity, $opId); $this->index = $index; $this->key = $key; $this->value = $value; }
/** * 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); }