PHP Class Webmozart\Console\Util\ProcessTitle

Since: 1.0
Author: Bernhard Schussek ([email protected])
Afficher le fichier Open project: webmozart/console Class Usage Examples

Méthodes publiques

Méthode Description
isSupported ( ) : boolean Returns whether process titles can be set.
resetProcessTitle ( ) Resets the title of the PHP process to the previous value.
setProcessTitle ( string $processTitle ) Sets the title of the PHP process.

Private Methods

Méthode Description
__construct ( )
changeProcessTitleTo ( $processTitle )

Method Details

isSupported() public static méthode

Returns whether process titles can be set.
public static isSupported ( ) : boolean
Résultat boolean Returns `true` if process titles can be set and `false` otherwise.

resetProcessTitle() public static méthode

Resets the title of the PHP process to the previous value.
public static resetProcessTitle ( )

setProcessTitle() public static méthode

Sets the title of the PHP process.
public static setProcessTitle ( string $processTitle )
$processTitle string The process title.