Property | Type | Description | |
---|---|---|---|
$routes | array |
Method | Description | |
---|---|---|
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 |
Method | Description | |
---|---|---|
getConfigDefaults ( ) : array | boolean | Setting default config options Overriden from ConnectionPool::getConfigDefaults |
protected getConfigDefaults ( ) : array | boolean | ||
return | array | boolean |
public getRouteOptions ( string $path ) : array | ||
$path | string | Route name |
return | array | Options |
public removeRoute ( string $path ) : boolean | ||
$path | string | Route name |
return | boolean | Success |
public routeExists ( string $path ) : boolean | ||
$path | string | Route name |
return | boolean | Exists? |