Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. InputArgument.php

InputArgument::OPTIONAL

Providing an argument is optional (e.g. 'app:foo' and 'app:foo bar' are both allowed). This is the default behavior of arguments.

File

vendor/symfony/console/Input/InputArgument.php, line 36

Class

InputArgument
Represents a command line argument.

Namespace

Symfony\Component\Console\Input

Code

public const OPTIONAL = 2;
RSS feed
Powered by Drupal