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

Breadcrumb

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

function JsonDescriptor::describeInputOption

Overrides Descriptor::describeInputOption

File

vendor/symfony/console/Descriptor/JsonDescriptor.php, line 34

Class

JsonDescriptor
JSON descriptor.

Namespace

Symfony\Component\Console\Descriptor

Code

protected function describeInputOption(InputOption $option, array $options = []) : void {
    $this->writeData($this->getInputOptionData($option), $options);
    if ($option->isNegatable()) {
        $this->writeData($this->getInputOptionData($option, true), $options);
    }
}

API Navigation

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