public function Input::hasArgument in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/console/Input/Input.php \Symfony\Component\Console\Input\Input::hasArgument()
Returns true if an InputArgument object exists by name or position.
Parameters
string|int $name The InputArgument name or position:
Return value
bool true if the InputArgument object exists, false otherwise
Overrides InputInterface::hasArgument
File
- vendor/
symfony/ console/ Input/ Input.php, line 160
Class
- Input
- Input is the base class for all concrete Input classes.
Namespace
Symfony\Component\Console\InputCode
public function hasArgument($name) {
return $this->definition
->hasArgument($name);
}