PHP Класс gui\Output

This class is used to send the output easier
С версии: 0.1
Автор: Rafael Reis @reisraff
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$err resource The resource for err
$out resource The resource for out

Открытые методы

Метод Описание
err ( string $string ) : void This method is used to send some text to STDERR
out ( string $string, string $color = 'white' ) : void This method is used to send some text to STDOUT, maybe with some color

Приватные методы

Метод Описание
colorize ( string $string, string $color ) : string This method is used to colorize some text

Описание методов

err() публичный статический Метод

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
Результат void

out() публичный статический Метод

This method is used to send some text to STDOUT, maybe with some color
public static out ( string $string, string $color = 'white' ) : void
$string string the text to be sent to STDOUT
$color string the color to colorize your text
Результат void

Описание свойств

$err защищенное статическое свойство

The resource for err
protected static resource $err
Результат resource

$out защищенное статическое свойство

The resource for out
protected static resource $out
Результат resource