PHP Интерфейс Stream_17b32f3_Streamable_Interface, amp-wp

Показать файл Открыть проект

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

Метод Описание
peek ( $characters ) : mixed Get characters from the string but don't move the pointer
read ( $characters ) Get Characters from the string
resetPointer ( ) : mixed Resets the pointer to the 0 position
write ( $string ) Append to the stream string

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

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

Get characters from the string but don't move the pointer
public peek ( $characters ) : mixed
$characters
Результат mixed

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

Get Characters from the string
public read ( $characters )
$characters

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

Resets the pointer to the 0 position
public resetPointer ( ) : mixed
Результат mixed

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

Append to the stream string
public write ( $string )
$string