/** * Clear all refs from an entity (delete a ref list) * * @param string $key * @return void */ public function clearRefs($key) { $this->unit_of_work->queueCommand(new Command('delete', ['key' => $key])); }
/** * Clear all refs from an entity (delete a ref list) * * @param string $key * * @return void */ public function clearRefs($key) { $this->unit_of_work->addCommand('KeyDelete', [$key]); }