PHP Класс Mpociot\ApiDoc\Commands\GenerateDocumentation

Наследование: extends Illuminate\Console\Command
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$description string The console command description.
$signature string The name and signature of the console command.

Открытые методы

Метод Описание
__construct ( ) : void Create a new command instance.
handle ( ) : false | null Execute the console command.

Приватные методы

Метод Описание
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

Описание методов

__construct() публичный метод

Create a new command instance.
public __construct ( ) : void
Результат void

handle() публичный метод

Execute the console command.
public handle ( ) : false | null
Результат false | null

Описание свойств

$description защищенное свойство

The console command description.
protected string $description
Результат string

$signature защищенное свойство

The name and signature of the console command.
protected string $signature
Результат string