You are here

public function InputArgument::isArray in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/console/Input/InputArgument.php \Symfony\Component\Console\Input\InputArgument::isArray()

Returns true if the argument can take multiple values.

Return value

bool true if mode is self::IS_ARRAY, false otherwise

1 call to InputArgument::isArray()
InputArgument::setDefault in vendor/symfony/console/Input/InputArgument.php
Sets the default value.

File

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

Class

InputArgument
Represents a command line argument.

Namespace

Symfony\Component\Console\Input

Code

public function isArray() {
  return self::IS_ARRAY === (self::IS_ARRAY & $this->mode);
}