Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Bramus
Router
Router
delete
Bramus\Router\Router::delete PHP Method
Router Class Documentation
Datei anzeigen
Open project: bramus/router
delete()
public
method
Shorthand for a route accessed using DELETE
public
delete
(
string
$pattern
,
object
|
callable
$fn
)
$pattern
string
A route pattern such as /about/system
$fn
object
|
callable
The handling function to be executed
public function delete($pattern, $fn) { $this->match('DELETE', $pattern, $fn); }
Router
all
before
delete
get
getBasePath
getCurrentUri
getRequestHeaders
getRequestMethod
handle
match
mount
options
patch
post
put
run
set404