PHP Class Mpociot\ApiDoc\Generators\LaravelGenerator

Inheritance: extends AbstractGenerator
Afficher le fichier Open project: mpociot/laravel-apidoc-generator

Méthodes publiques

Méthode 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 = true ) : void Prepares / Disables route middlewares.
processRoute ( Illuminate\Routing\Route $route, array $bindings = [], array $headers = [], boolean $withResponse = true ) : array

Méthodes protégées

Méthode Description
getUri ( Illuminate\Routing\Route $route ) : mixed

Method Details

callRoute() public méthode

Call the given URI and return the Response.
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
Résultat Illuminate\Http\Response

getUri() protected méthode

protected getUri ( Illuminate\Routing\Route $route ) : mixed
$route Illuminate\Routing\Route
Résultat mixed

prepareMiddleware() public méthode

Prepares / Disables route middlewares.
public prepareMiddleware ( boolean $disable = true ) : void
$disable boolean
Résultat void

processRoute() public méthode

public processRoute ( Illuminate\Routing\Route $route, array $bindings = [], array $headers = [], boolean $withResponse = true ) : array
$route Illuminate\Routing\Route
$bindings array
$headers array
$withResponse boolean
Résultat array