Class AbstractRequest
Class สำหรับจัดการ URL.
- Kotchasan\Http\AbstractMessage implements Psr\Http\Message\MessageInterface
-
Kotchasan\Http\AbstractRequest
implements
Psr\Http\Message\RequestInterface
Direct known subclasses
Kotchasan\Http\Request
Namespace: Kotchasan\Http
Author: Goragod Wiriya admin@goragod.com
Since: 1.0
Located at Kotchasan/Http/AbstractRequest.php
Author: Goragod Wiriya admin@goragod.com
Since: 1.0
Located at Kotchasan/Http/AbstractRequest.php
public static
|
#
createUriWithGet( string $uri = 'index.php', array $exclude = array() )
สร้างคลาสจากลิงค์ และ รวมค่าที่มาจาก $_GET ด้วย |
public
|
#
createUriWithGlobals( string $uri = 'index.php', array $exclude = array() )
สร้างคลาสจากลิงค์ และ รวมค่าที่มาจาก $_GET และ $_POST ด้วย |
public static
|
#
createUriWithPost( string $uri = 'index.php', array $exclude = array() )
สร้างคลาสจากลิงค์ และ รวมค่าที่มาจาก $_POST ด้วย |
public
string
|
|
public
string
|
|
public
|
|
public static
|
|
public
static
|
|
public
static
|
|
public
static
|
protected
string
|
$method
|
#
null
|
protected
string
|
$requestTarget
|
|
protected
|
$uri
|
$headers,
$protocol,
$stream
|