HasParameters
trait HasParameters (View source)
Methods
void
specifyParameters()
Specify the arguments and options on the command.
InputArgument|InputArgument::REQUIRED|InputArgument::OPTIONAL|InputArgument::IS_ARRAY>, 2?: string, 3?: mixed, 4?: list<string|Suggestion>|CompletionSuggestions): list<string|Suggestion>}>
getArguments()
Get the console command arguments.
InputOption|array{0: non-empty-string, 1?: string|InputOption::VALUE_*>, 3?: string, 4?: mixed, 5?: list<string|Suggestion>|CompletionSuggestions): list<string|Suggestion>}>
getOptions()
Get the console command options.
Details
protected void
specifyParameters()
Specify the arguments and options on the command.
protected InputArgument|InputArgument::REQUIRED|InputArgument::OPTIONAL|InputArgument::IS_ARRAY>, 2?: string, 3?: mixed, 4?: list<string|Suggestion>|CompletionSuggestions): list<string|Suggestion>}>
getArguments()
Get the console command arguments.
protected InputOption|array{0: non-empty-string, 1?: string|InputOption::VALUE_*>, 3?: string, 4?: mixed, 5?: list<string|Suggestion>|CompletionSuggestions): list<string|Suggestion>}>
getOptions()
Get the console command options.
Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.