params['from'] ?? null; } /** * Get a LIMIT. */ public function getLimit(): ?int { return $this->params['limit'] ?? null; } private function validateRawParams(array $params): void { $this->validateRawParamsSelecting($params); $from = $params['from'] ?? null; if (!$from || !is_string($from)) { throw new RuntimeException("Select params: Missing 'in'."); } $set = $params['set'] ?? null; if (!$set || !is_array($set)) { throw new RuntimeException("Update params: Bad or missing 'set' parameter."); } } }