HttpServerInterface
in
PHP Mini Framework
Tags
Table of Contents
- delete() : RouteInterface
- Set HTTP DELETE routes
- get() : RouteInterface
- Set HTTP GET routes
- head() : RouteInterface
- Set HTTP HEAD routes
- patch() : RouteInterface
- Set HTTP PATCH routes
- post() : RouteInterface
- Set HTTP POST routes
- put() : RouteInterface
- Set HTTP PUT routes
Methods
delete()
Set HTTP DELETE routes
public
delete(string $path) : RouteInterface
Parameters
- $path : string
-
HTTP path. e.g /home. See
Router::MATCHER_REGXfor list of parameters matching keywords
Tags
Return values
RouteInterface —get()
Set HTTP GET routes
public
get(string $path) : RouteInterface
Parameters
- $path : string
-
HTTP path. e.g /home. See
Router::MATCHER_REGXfor list of parameters matching keywords
Tags
Return values
RouteInterface —head()
Set HTTP HEAD routes
public
head(string $path) : RouteInterface
Parameters
- $path : string
-
HTTP path. e.g /home. See
Router::MATCHER_REGXfor list of parameters matching keywords
Tags
Return values
RouteInterface —patch()
Set HTTP PATCH routes
public
patch(string $path) : RouteInterface
Parameters
- $path : string
-
HTTP path. e.g /home. See
Router::MATCHER_REGXfor list of parameters matching keywords
Tags
Return values
RouteInterface —post()
Set HTTP POST routes
public
post(string $path) : RouteInterface
Parameters
- $path : string
-
HTTP path. e.g /home. See
Router::MATCHER_REGXfor list of parameters matching keywords
Tags
Return values
RouteInterface —put()
Set HTTP PUT routes
public
put(string $path) : RouteInterface
Parameters
- $path : string
-
HTTP path. e.g /home. See
Router::MATCHER_REGXfor list of parameters matching keywords