PHP Интерфейс Webmozart\Console\Api\IO\OutputStream

С версии: 1.0
Автор: Bernhard Schussek ([email protected])
Показать файл Открыть проект Примеры использования интерфейса

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

Метод Описание
close ( ) Closes the stream.
flush ( ) Flushes the stream and forces all pending text to be written out.
isClosed ( ) : boolean Returns whether the stream is closed.
supportsAnsi ( ) : boolean Returns whether the stream supports ANSI format codes.
write ( string $string ) Writes a string to the stream.

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

close() публичный Метод

Closes the stream.
public close ( )

flush() публичный Метод

Flushes the stream and forces all pending text to be written out.
public flush ( )

isClosed() публичный Метод

Returns whether the stream is closed.
public isClosed ( ) : boolean
Результат boolean Returns `true` if the stream is closed.

supportsAnsi() публичный Метод

Returns whether the stream supports ANSI format codes.
public supportsAnsi ( ) : boolean
Результат boolean Returns `true` if the stream supports ANSI format codes and `false` otherwise.

write() публичный Метод

Writes a string to the stream.
public write ( string $string )
$string string The string to write.