PHP Class Webmozart\Console\Util\ProcessTitle

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

Public Methods

Method 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

Method Description
__construct ( )
changeProcessTitleTo ( $processTitle )

Method Details

isSupported() public static method

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

resetProcessTitle() public static method

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

setProcessTitle() public static method

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