InputDefinition
  • References/PHP/Symfony/Component/Console/Input

class InputDefinition A InputDefinition represents a set of valid command line arguments and options

2025-01-10 15:47:30
InputOption::isValueRequired()
  • References/PHP/Symfony/Component/Console/Input

bool isValueRequired() Returns true if the option requires a value.

2025-01-10 15:47:30
InputInterface::bind()
  • References/PHP/Symfony/Component/Console/Input

bind(InputDefinition $definition)

2025-01-10 15:47:30
InputInterface::getFirstArgument()
  • References/PHP/Symfony/Component/Console/Input

string getFirstArgument() Returns the first argument from the raw parameters (not parsed).

2025-01-10 15:47:30
InputInterface::setArgument()
  • References/PHP/Symfony/Component/Console/Input

setArgument(string $name, string $value) Sets an argument value by name.

2025-01-10 15:47:30
InputOption::getShortcut()
  • References/PHP/Symfony/Component/Console/Input

string getShortcut() Returns the option shortcut.

2025-01-10 15:47:30
InputArgument
  • References/PHP/Symfony/Component/Console/Input

class InputArgument Represents a command line argument. Constants

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

bool hasArgument(string|int $name) Returns true if an InputArgument object exists by name or

2025-01-10 15:47:30
InputArgument::setDefault()
  • References/PHP/Symfony/Component/Console/Input

setDefault(mixed $default = null) Sets the default value.

2025-01-10 15:47:30
InputInterface::hasOption()
  • References/PHP/Symfony/Component/Console/Input

bool hasOption(string $name) Returns true if an InputOption object exists by name.

2025-01-10 15:47:30