PHP 인터페이스 Stream_17b32f3_Streamable_Interface, amp-wp

파일 보기 프로젝트 열기: Automattic/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