function InputOption::isArray
Returns true if the option can take multiple values.
Return value
bool true if mode is self::VALUE_IS_ARRAY, false otherwise
3 calls to InputOption::isArray()
- InputOption::equals in vendor/
symfony/ console/ Input/ InputOption.php - Checks whether the given option equals this one.
- InputOption::setDefault in vendor/
symfony/ console/ Input/ InputOption.php - Sets the default value.
- InputOption::__construct in vendor/
symfony/ console/ Input/ InputOption.php
File
-
vendor/
symfony/ console/ Input/ InputOption.php, line 173
Class
- InputOption
- Represents a command line option.
Namespace
Symfony\Component\Console\InputCode
public function isArray() : bool {
return self::VALUE_IS_ARRAY === (self::VALUE_IS_ARRAY & $this->mode);
}