W3cubDocs

/Laravel 8

HasParameters

trait HasParameters (View source)

Methods

void specifyParameters()

Specify the arguments and options on the command.

array getArguments()

Get the console command arguments.

array getOptions()

Get the console command options.

Details

protected void specifyParameters()

Specify the arguments and options on the command.

Return Value

void

protected array getArguments()

Get the console command arguments.

Return Value

array

protected array getOptions()

Get the console command options.

Return Value

array

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/8.x/Illuminate/Console/Concerns/HasParameters.html