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

Breadcrumb

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

function FundCommand::configure

Overrides Command::configure

File

vendor/composer/composer/src/Composer/Command/FundCommand.php, line 33

Class

FundCommand
@author Nicolas Grekas <p@tchwork.com> @author Jordi Boggiano <j.boggiano@seld.be>

Namespace

Composer\Command

Code

protected function configure() : void {
    $this->setName('fund')
        ->setDescription('Discover how to help fund the maintenance of your dependencies')
        ->setDefinition([
        new InputOption('format', 'f', InputOption::VALUE_REQUIRED, 'Format of the output: text or json', 'text', [
            'text',
            'json',
        ]),
    ]);
}

API Navigation

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