MigrateCommand::option()
  • References/PHP/Laravel/Database/Console/Migrations

string|array option(string $key = null) Get the value of a command option

2025-01-10 15:47:30
MigrateMakeCommand::line()
  • References/PHP/Laravel/Database/Console/Migrations

void line(string $string, string $style = null, null|int|string $verbosity = null)

2025-01-10 15:47:30
MigrateMakeCommand::getLaravel()
  • References/PHP/Laravel/Database/Console/Migrations

Application getLaravel()

2025-01-10 15:47:30
MigrateMakeCommand::run()
  • References/PHP/Laravel/Database/Console/Migrations

int run(InputInterface $input, OutputInterface $output) Run the console

2025-01-10 15:47:30
RollbackCommand::hasOption()
  • References/PHP/Laravel/Database/Console/Migrations

bool hasOption(string $name) Determine if the given option is present.

2025-01-10 15:47:30
RefreshCommand::hasArgument()
  • References/PHP/Laravel/Database/Console/Migrations

bool hasArgument(string|int $name) Determine if the given argument is present

2025-01-10 15:47:30
RefreshCommand::options()
  • References/PHP/Laravel/Database/Console/Migrations

array options() Get all of the options passed to the command.

2025-01-10 15:47:30
SeederMakeCommand::ask()
  • References/PHP/Laravel/Database/Console/Seeds

string ask(string $question, string $default = null) Prompt the user for

2025-01-10 15:47:30
MigrateCommand::setLaravel()
  • References/PHP/Laravel/Database/Console/Migrations

void setLaravel(Container $laravel)

2025-01-10 15:47:30
ResetCommand::hasArgument()
  • References/PHP/Laravel/Database/Console/Migrations

bool hasArgument(string|int $name) Determine if the given argument is present

2025-01-10 15:47:30