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

Breadcrumb

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

function InputOption::getName

Returns the option name.

2 calls to InputOption::getName()
InputOption::complete in vendor/composer/composer/src/Composer/Console/Input/InputOption.php
Adds suggestions to $suggestions for the current completion input.
InputOption::equals in vendor/symfony/console/Input/InputOption.php
Checks whether the given option equals this one.

File

vendor/symfony/console/Input/InputOption.php, line 133

Class

InputOption
Represents a command line option.

Namespace

Symfony\Component\Console\Input

Code

public function getName() : string {
    return $this->name;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal