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

Breadcrumb

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

function InputInterface::hasOption

Returns true if an InputOption object exists by name.

1 method overrides InputInterface::hasOption()
Input::hasOption in vendor/symfony/console/Input/Input.php
Returns true if an InputOption object exists by name.

File

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

Class

InputInterface
InputInterface is the interface implemented by all input classes.

Namespace

Symfony\Component\Console\Input

Code

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