메소드 |
설명 |
|
addRoute ( string $path, callable $cb ) : boolean |
Adds a route if it doesn't exist already. |
|
getRoute ( string $path, object $client, boolean $withoutCustomTransport = false ) : mixed |
|
|
getRouteOptions ( string $path ) : array |
Return options by route |
|
removeRoute ( string $path ) : boolean |
Removes a route. |
|
routeExists ( string $path ) : boolean |
Checks if route exists |
|
setRoute ( string $path, callable $cb ) : boolean |
Force add/replace a route. |
|
setRouteOptions ( string $path, array $opts ) : boolean |
Sets an array of options associated to the route |
|