Command::setApplication()
  • References/PHP/Symfony/Component/Console/Command

setApplication(Application $application = null)

2025-01-10 15:47:30
Command::run()
  • References/PHP/Symfony/Component/Console/Command

int run(InputInterface $input,

2025-01-10 15:47:30
Command::setAliases()
  • References/PHP/Symfony/Component/Console/Command

Command setAliases(string[] $aliases)

2025-01-10 15:47:30
Command::addUsage()
  • References/PHP/Symfony/Component/Console/Command

Command addUsage(string $usage)

2025-01-10 15:47:30
Command::mergeApplicationDefinition()
  • References/PHP/Symfony/Component/Console/Command

mergeApplicationDefinition(bool $mergeArgs = true) Merges the application definition with the command

2025-01-10 15:47:30
Command::getHelper()
  • References/PHP/Symfony/Component/Console/Command

mixed getHelper(string $name) Gets a helper instance by name.

2025-01-10 15:47:30
Command::getNativeDefinition()
  • References/PHP/Symfony/Component/Console/Command

InputDefinition getNativeDefinition()

2025-01-10 15:47:30
Command::getUsages()
  • References/PHP/Symfony/Component/Console/Command

array getUsages() Returns alternative usages of the command.

2025-01-10 15:47:30
Command::isEnabled()
  • References/PHP/Symfony/Component/Console/Command

bool isEnabled() Checks whether the command is enabled or not in the current environment.

2025-01-10 15:47:30
Command::getProcessedHelp()
  • References/PHP/Symfony/Component/Console/Command

string getProcessedHelp() Returns the processed help for the command replacing the %command.name%

2025-01-10 15:47:30