You are here

public function InputInterface::hasArgument in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/console/Input/InputInterface.php \Symfony\Component\Console\Input\InputInterface::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

1 method overrides InputInterface::hasArgument()
Input::hasArgument in vendor/symfony/console/Input/Input.php
Returns true if an InputArgument object exists by name or position.

File

vendor/symfony/console/Input/InputInterface.php, line 102

Class

InputInterface
InputInterface is the interface implemented by all input classes.

Namespace

Symfony\Component\Console\Input

Code

public function hasArgument($name);