You are here

public function Command::setProcessTitle in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/console/Command/Command.php \Symfony\Component\Console\Command\Command::setProcessTitle()

Sets the process title of the command.

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

PHP 5.5+ or the proctitle PECL library is required

Parameters

string $title The process title:

Return value

Command The current instance

File

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

Class

Command
Base class for all commands.

Namespace

Symfony\Component\Console\Command

Code

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