This commit is contained in:
2025-06-22 15:27:26 +03:00
parent a64ed080bb
commit 2ab819ff30
11 changed files with 650 additions and 13 deletions

View File

@ -132,6 +132,18 @@ class Request
return $_GET[$param] ?? $defaultValue;
}
/**
* @param string $param
* @return mixed
*/
public function except(string $param): mixed
{
$params = $this->get();
unset($param);
return $params;
}
/**
* Возвращает POST - параметр.