Method | Description | |
---|---|---|
callRoute ( string $method, string $uri, array $parameters = [], array $cookies = [], array $files = [], array $server = [], string $content = null ) : Illuminate\Http\Response | Call the given URI and return the Response. | |
prepareMiddleware ( boolean $disable = false ) : void | Prepares / Disables route middlewares. | |
processRoute ( Illuminate\Routing\Route $route, array $bindings = [], boolean $withResponse = true ) : array |
Method | Description | |
---|---|---|
addRouteModelBindings ( $route, array $bindings ) : mixed | ||
fancyImplode ( array $arr, string $first, string $last ) : string | ||
getParameters ( array $routeData, array $routeAction, array $bindings ) : mixed | ||
getRouteDescription ( Illuminate\Routing\Route $route ) : string | ||
getRouteGroup ( string $route ) : string | ||
getRouteResponse ( $route, $bindings, $headers = [] ) : Illuminate\Http\Response | ||
getRouteRules ( $route, array $bindings ) : array | ||
getUri ( $route ) : mixed | ||
normalizeRule ( string $rule ) : string | Normalizes a rule so that we can accept short types. | |
parseParameters ( string $rule, string $parameter ) : array | Parse a parameter list. | |
parseRule ( string $rule, string $ruleName, array &$attributeData, integer $seed ) : void | ||
parseStringRule ( string $rules ) : array | Parse a string based rule. | |
splitValuePairs ( $parameters, $first = 'is ', $last = 'or ' ) | ||
transformHeadersToServerVars ( array $headers ) : array | Transform headers array to array of $_SERVER vars with HTTP_* format. |
protected addRouteModelBindings ( $route, array $bindings ) : mixed | ||
$route | ||
$bindings | array | |
return | mixed |
abstract public callRoute ( string $method, string $uri, array $parameters = [], array $cookies = [], array $files = [], array $server = [], string $content = null ) : Illuminate\Http\Response | ||
$method | string | |
$uri | string | |
$parameters | array | |
$cookies | array | |
$files | array | |
$server | array | |
$content | string | |
return | Illuminate\Http\Response |
protected getRouteDescription ( Illuminate\Routing\Route $route ) : string | ||
$route | Illuminate\Routing\Route | |
return | string |
protected getRouteGroup ( string $route ) : string | ||
$route | string | |
return | string |
protected getRouteResponse ( $route, $bindings, $headers = [] ) : Illuminate\Http\Response | ||
$route | ||
$bindings | ||
$headers | ||
return | Illuminate\Http\Response |
protected getRouteRules ( $route, array $bindings ) : array | ||
$route | ||
$bindings | array | |
return | array |
protected normalizeRule ( string $rule ) : string | ||
$rule | string | |
return | string |
protected parseStringRule ( string $rules ) : array | ||
$rules | string | |
return | array |
abstract public prepareMiddleware ( boolean $disable = false ) : void | ||
$disable | boolean | |
return | void |
protected splitValuePairs ( $parameters, $first = 'is ', $last = 'or ' ) |
protected transformHeadersToServerVars ( array $headers ) : array | ||
$headers | array | |
return | array |