Aviat\Director\RouteConfig::delete
Add a route matching a DELETE HTTP request
$name
— string- - The name of the route
$path
— string- - The path or pattern to match
$callback
— object- - The callback to dispatch on match
$options
— array- - additional route options, such as placeholders
- RouteConfig
- Coverage: 1/1 Lines (100%)
- Tests: 2
- Passed: 2 (100%)
- [ PASSED ] — RouteConfigTest::testGetPostPutPatchOptionsDeleteAll with data set #12
- [ PASSED ] — RouteConfigTest::testGetPostPutPatchOptionsDeleteAll with data set #13
Signature
public function delete(string
$name,
string
$path,
array|callable
$callback,
[array
$options = ] )