PHP 인터페이스 Webmozart\Console\Api\IO\OutputStream

부터: 1.0
저자: Bernhard Schussek ([email protected])
파일 보기 프로젝트 열기: webmozart/console 0 사용 예제들

공개 메소드들

메소드 설명
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.