protected function extractPrimaryKey(Request $request) { $primaryKey = []; foreach ($this->getPrimary() as $pk) { $primaryKey[$pk] = Tools::urlDecode($request->attributes->get($pk)); } return $primaryKey; }