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

Breadcrumb

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

function Command::setProcessTitle

Sets the process title of the command.

This feature should be used only when creating a long process command, like a daemon.

Return value

$this

4 calls to Command::setProcessTitle()
TraceableCommand::setProcessTitle in vendor/symfony/console/Command/TraceableCommand.php
Calling parent method is required to be used in {
TraceableCommand::setProcessTitle in vendor/symfony/console/Command/TraceableCommand.php
Calling parent method is required to be used in {
TraceableCommand::__construct in vendor/symfony/console/Command/TraceableCommand.php
TraceableCommand::__construct in vendor/symfony/console/Command/TraceableCommand.php
2 methods override Command::setProcessTitle()
LazyCommand::setProcessTitle in vendor/symfony/console/Command/LazyCommand.php
Sets the process title of the command.
TraceableCommand::setProcessTitle in vendor/symfony/console/Command/TraceableCommand.php
Calling parent method is required to be used in {

File

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

Class

Command
Base class for all commands.

Namespace

Symfony\Component\Console\Command

Code

public function setProcessTitle(string $title) : static {
    $this->processTitle = $title;
    return $this;
}

API Navigation

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