class GenerateJsRoutesCommand extends Command (View source)

Properties

protected string $signature The name and signature of the console command.
protected string $description The console command description.
protected Router $router Application router.
protected Filesystem $file File system.

Methods

void
__construct(Router $router, Filesystem $file)

Create a new command instance.

mixed
handle()

Execute the console command.

bool
matches(array $patterns, string $subject)

Perform a regular expression match.

Details

void __construct(Router $router, Filesystem $file)

Create a new command instance.

Parameters

Router $router
Filesystem $file

Return Value

void

mixed handle()

Execute the console command.

Return Value

mixed

protected bool matches(array $patterns, string $subject)

Perform a regular expression match.

Parameters

array $patterns
string $subject

Return Value

bool