PHP Mini Documentation

HttpServerInterface

PHP Mini Framework

Tags
copyright

busarm.com

license

https://github.com/Busarm/php-mini/blob/master/LICENSE (MIT License)

codeCoverageIgnore

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_REGX for 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_REGX for list of parameters matching keywords

Tags
Return values
RouteInterface

        

Search results