Modular Framework  1.0
A light and thin PHP Framework
Loading...
Searching...
No Matches
RequestMethod Class Reference

Static Public Member Functions

static GET ()
 
static POST ()
 
static PUT ()
 
static PATCH ()
 
static OPTIONS ()
 
static DELETE ()
 
static HEAD ()
 
static TRACE ()
 
static CONNECT ()
 
static fromString (string $str)
 

Public Attributes

string $value
 

Member Function Documentation

◆ CONNECT()

static CONNECT ( )
static

◆ DELETE()

static DELETE ( )
static

◆ fromString()

static fromString ( string  $str)
static

Parses a RequestMethod from String.

Parameters
string$strString that should be parsed.
Returns
RequestMethod|null

◆ GET()

static GET ( )
static

◆ HEAD()

static HEAD ( )
static

◆ OPTIONS()

static OPTIONS ( )
static

◆ PATCH()

static PATCH ( )
static

◆ POST()

static POST ( )
static

◆ PUT()

static PUT ( )
static

◆ TRACE()

static TRACE ( )
static

Member Data Documentation

◆ $value

string $value