public function InputDefinition::getArgumentCount in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/console/Input/InputDefinition.php \Symfony\Component\Console\Input\InputDefinition::getArgumentCount()
Returns the number of InputArguments.
Return value
int The number of InputArguments
File
- vendor/
symfony/ console/ Input/ InputDefinition.php, line 181
Class
- InputDefinition
- A InputDefinition represents a set of valid command line arguments and options.
Namespace
Symfony\Component\Console\InputCode
public function getArgumentCount() {
return $this->hasAnArrayArgument ? PHP_INT_MAX : count($this->arguments);
}