Bicycle/System/Classes/HTTP/Request.php
Egor Isaev b516ca07dc Initial commit: Bicycle PHP MVC micro-framework
Core MVC, HTTP client, Session, Cookie, Config, HTTPException — 111 PHPUnit tests.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-04 10:04:19 +03:00

26 lines
674 B
PHP

<?php
/**
* @package Bicycle
* @author Egor Isaev
* @description HTTP/Request.php
* @copyright (c) 04/06/2026
*/
namespace System\Classes\HTTP;
interface Request
{
public const GET = 'GET';
public const POST = 'POST';
public const PUT = 'PUT';
public const PATCH = 'PATCH';
public const DELETE = 'DELETE';
public const HEAD = 'HEAD';
public const OPTIONS = 'OPTIONS';
public function method(?string $method = null);
public function uri();
public function query(null|string|array $key = null, mixed $value = null);
public function post(null|string|array $key = null, mixed $value = null);
}