PHP Class Phulp\Output

Afficher le fichier Open project: reisraff/phulp Class Usage Examples

Méthodes publiques

Свойство Type Description
$quiet boolean

Protected Properties

Свойство Type Description
$err resource The resource for err
$out resource The resource for out

Méthodes publiques

Méthode Description
colorize ( string $string, string $color ) : string This method is used to colorize some text
err ( string $string ) : void This method is used to send some text to STDERR
out ( string $string ) : void This method is used to send some text to STDOUT, maybe with some color

Method Details

colorize() public static méthode

This method is used to colorize some text
public static colorize ( string $string, string $color ) : string
$string string the text to be colorized
$color string the color to colorize your
Résultat string

err() public static méthode

This method is used to send some text to STDERR
public static err ( string $string ) : void
$string string the text to be sent to STDERR
Résultat void

out() public static méthode

This method is used to send some text to STDOUT, maybe with some color
public static out ( string $string ) : void
$string string the text to be sent to STDOUT
Résultat void

Property Details

$err protected_oe static_oe property

The resource for err
protected static resource $err
Résultat resource

$out protected_oe static_oe property

The resource for out
protected static resource $out
Résultat resource

$quiet public_oe static_oe property

public static bool $quiet
Résultat boolean