Upgrade Guide Upgrading To 5.3.0 From 5.2 Upgrading To 5.2.0 From 5.1 Upgrading To 5.1.11 Upgrading To 5.1.0 Upgrading To 5.0.16 Upgrading To 5.0 From 4.2 Upgrading To 4.2 From 4.1 Upgrading To 4.1.29 From <= 4.1.x Upgrading To 4.1.26 From <= 4.1.25 Upgrading To 4.1 From 4.0 Upgrading To 5.3.0 From 5.2 Estimated Upgrade Time: 2-3 Hours We attempt to document every possible breaking change. Since some of these breaking changes are in obscure parts of the framework only a portion of thes
void __construct() Create a new console command instance. Return Value void
void warn(string $string) Write a string as warning output. Parameters string $string Return Value void
void table(array $headers, Arrayable|array $rows, string $style = 'default') Format input to textual table. Parameters array $headers Arrayable|array $rows string $style Return Value void
void setLaravel(Application $laravel) Set the Laravel application instance. Parameters Application $laravel Return Value void
string secret(string $question, bool $fallback = true) Prompt the user for input but hide the answer from the console. Parameters string $question bool $fallback Return Value string
int run(InputInterface $input, OutputInterface $output) Run the console command. Parameters InputInterface $input OutputInterface $output Return Value int
void question(string $string) Write a string as question output. Parameters string $string Return Value void
string|array option(string $key = null) Get the value of a command option. Parameters string $key Return Value string|array
void line(string $string) Write a string as standard output. Parameters string $string Return Value void
Page 62 of 996