MCPcopy Create free account
hub / github.com/ccoenraets/backbone-cellar / mapRoute

Method mapRoute

tutorial/api/Slim/Slim.php:379–387  ·  view source on GitHub ↗

* Add GET|POST|PUT|DELETE route * * Adds a new route to the router with associated callable. This * route will only be invoked when the HTTP request's method matches * this route's method. * * ARGUMENTS: * * First: string The URL pattern (REQUIRED) * In-Between: mixed Anything that returns TRUE for `is_callable` (OPTIONAL) * Last:

($args)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 6

mapMethod · 0.95
getMethod · 0.95
postMethod · 0.95
putMethod · 0.95
deleteMethod · 0.95
optionsMethod · 0.95

Calls 2

mapMethod · 0.45
setMiddlewareMethod · 0.45

Tested by

no test coverage detected