Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. InputInterface.php

function InputInterface::hasArgument

Returns true if an InputArgument object exists by name or position.

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 94

Class

InputInterface
InputInterface is the interface implemented by all input classes.

Namespace

Symfony\Component\Console\Input

Code

public function hasArgument(string $name) : bool;
RSS feed
Powered by Drupal