trait CallsCommands (View source)
Command | resolveCommand(Command|string $command) Resolve the console command instance for the given command. | |
int | call(Command|string $command, array $arguments = []) Call another console command. | |
int | callSilent(Command|string $command, array $arguments = []) Call another console command silently. | |
int | runCommand(Command|string $command, array $arguments, OutputInterface $output) Run the given the console command. | |
ArrayInput | createInputFromArguments(array $arguments) Create an input instance from the given arguments. | |
array | context() Get all of the context passed to the command. |
Resolve the console command instance for the given command.
Call another console command.
Call another console command silently.
Run the given the console command.
Create an input instance from the given arguments.
Get all of the context passed to the command.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/8.x/Illuminate/Console/Concerns/CallsCommands.html