public function InputOption::isValueOptional in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/console/Input/InputOption.php \Symfony\Component\Console\Input\InputOption::isValueOptional()
Returns true if the option takes an optional value.
Return value
bool true if value mode is self::VALUE_OPTIONAL, false otherwise
2 calls to InputOption::isValueOptional()
- InputOption::acceptValue in vendor/
symfony/ console/ Input/ InputOption.php - Returns true if the option accepts a value.
- InputOption::equals in vendor/
symfony/ console/ Input/ InputOption.php - Checks whether the given option equals this one.
File
- vendor/
symfony/ console/ Input/ InputOption.php, line 133
Class
- InputOption
- Represents a command line option.
Namespace
Symfony\Component\Console\InputCode
public function isValueOptional() {
return self::VALUE_OPTIONAL === (self::VALUE_OPTIONAL & $this->mode);
}