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

Breadcrumb

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

function Command::setHelp

Sets the help for the command.

Return value

$this

2 methods override Command::setHelp()
LazyCommand::setHelp in vendor/symfony/console/Command/LazyCommand.php
Sets the help for the command.
TraceableCommand::setHelp in vendor/symfony/console/Command/TraceableCommand.php
Sets the help for the command.

File

vendor/symfony/console/Command/Command.php, line 529

Class

Command
Base class for all commands.

Namespace

Symfony\Component\Console\Command

Code

public function setHelp(string $help) : static {
    $this->help = $help;
    return $this;
}

API Navigation

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