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

Breadcrumb

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

function AboutCommand::execute

Overrides Command::execute

File

vendor/composer/composer/src/Composer/Command/AboutCommand.php, line 37

Class

AboutCommand
@author Jordi Boggiano <j.boggiano@seld.be>

Namespace

Composer\Command

Code

protected function execute(InputInterface $input, OutputInterface $output) : int {
    $composerVersion = Composer::getVersion();
    $this->getIO()
        ->write(<<<EOT
<info>Composer - Dependency Manager for PHP - version {<span class="php-variable">$composerVersion</span>}</info>
<comment>Composer is a dependency manager tracking local dependencies of your projects and libraries.
See https://getcomposer.org/ for more information.</comment>
EOT
);
    return 0;
}

API Navigation

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