agent foundation
This commit is contained in:
21
lib/Http/RequestRuntimeInterface.php
Normal file
21
lib/Http/RequestRuntimeInterface.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace MintyPHP\Http;
|
||||
|
||||
interface RequestRuntimeInterface
|
||||
{
|
||||
public function method(): string;
|
||||
|
||||
public function path(): string;
|
||||
|
||||
public function ip(): string;
|
||||
|
||||
public function userAgent(): string;
|
||||
|
||||
/**
|
||||
* @return array<string, mixed>
|
||||
*/
|
||||
public function queryParams(): array;
|
||||
|
||||
public function isSecure(): bool;
|
||||
}
|
||||
Reference in New Issue
Block a user