PHP Класс Webmozart\Console\IO\InputStream\StringInputStream

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

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

Метод Описание
__construct ( string $string = '' ) Creates the input stream.
append ( string $string ) Appends a string to the stream.
clear ( ) Clears the contents of the buffer.
set ( string $string ) Sets the string to read from.

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

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

Creates the input stream.
public __construct ( string $string = '' )
$string string The string to read from.

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

Appends a string to the stream.
public append ( string $string )
$string string The string to append.

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

Clears the contents of the buffer.
public clear ( )

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

Sets the string to read from.
public set ( string $string )
$string string The string to read from.