public function InputInterface::hasParameterOption in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/console/Input/InputInterface.php \Symfony\Component\Console\Input\InputInterface::hasParameterOption()
Returns true if the raw parameters (not parsed) contain a value.
This method is to be used to introspect the input parameters before they have been validated. It must be used carefully.
Parameters
string|array $values The values to look for in the raw parameters (can be an array):
Return value
bool true if the value is contained in the raw parameters
2 methods override InputInterface::hasParameterOption()
- ArgvInput::hasParameterOption in vendor/
symfony/ console/ Input/ ArgvInput.php - Returns true if the raw parameters (not parsed) contain a value.
- ArrayInput::hasParameterOption in vendor/
symfony/ console/ Input/ ArrayInput.php - Returns true if the raw parameters (not parsed) contain a value.
File
- vendor/
symfony/ console/ Input/ InputInterface.php, line 38
Class
- InputInterface
- InputInterface is the interface implemented by all input classes.
Namespace
Symfony\Component\Console\InputCode
public function hasParameterOption($values);