PHP Class Mpociot\ApiDoc\Commands\GenerateDocumentation

Inheritance: extends Illuminate\Console\Command
Afficher le fichier Open project: mpociot/laravel-apidoc-generator

Protected Properties

Свойство Type Description
$description string The console command description.
$signature string The name and signature of the console command.

Méthodes publiques

Méthode Description
__construct ( ) : void Create a new command instance.
handle ( ) : false | null Execute the console command.

Private Methods

Méthode Description
generatePostmanCollection ( Collection $routes ) : string Generate Postman collection JSON file.
getBindings ( ) : array
getRoutes ( ) : mixed
isRouteVisibleForDocumentation ( $route ) : boolean
isValidRoute ( $route ) : boolean
processDingoRoutes ( AbstractGenerator $generator, $allowedRoutes, $routePrefix, $middleware ) : array
processLaravelRoutes ( AbstractGenerator $generator, $allowedRoutes, $routePrefix, $middleware ) : array
setUserToBeImpersonated ( $actAs )
writeMarkdown ( Collection $parsedRoutes ) : void

Method Details

__construct() public méthode

Create a new command instance.
public __construct ( ) : void
Résultat void

handle() public méthode

Execute the console command.
public handle ( ) : false | null
Résultat false | null

Property Details

$description protected_oe property

The console command description.
protected string $description
Résultat string

$signature protected_oe property

The name and signature of the console command.
protected string $signature
Résultat string