PHP 클래스 ConsoleKit\FormatedWriter

상속: extends TextFormater, implements consolekit\TextWriter
파일 보기 프로젝트 열기: maximebf/consolekit

보호된 프로퍼티들

프로퍼티 타입 설명
$textWriter consolekit\TextWriter

공개 메소드들

메소드 설명
__construct ( consolekit\TextWriter $writer, array $formatOptions = [] )
getTextWriter ( ) : consolekit\TextWriter
setTextWriter ( consolekit\TextWriter $writer ) : FormatedWriter
write ( string $text, $pipe = TextWriter::STDOUT ) : Command Writes some text to the text writer
writeln ( string $text = '', $pipe = TextWriter::STDOUT ) : Command Writes a line of text

메소드 상세

__construct() 공개 메소드

public __construct ( consolekit\TextWriter $writer, array $formatOptions = [] )
$writer consolekit\TextWriter
$formatOptions array

getTextWriter() 공개 메소드

public getTextWriter ( ) : consolekit\TextWriter
리턴 consolekit\TextWriter

setTextWriter() 공개 메소드

public setTextWriter ( consolekit\TextWriter $writer ) : FormatedWriter
$writer consolekit\TextWriter
리턴 FormatedWriter

write() 공개 메소드

Writes some text to the text writer
또한 보기: TextWriter::write()
public write ( string $text, $pipe = TextWriter::STDOUT ) : Command
$text string
리턴 Command

writeln() 공개 메소드

Writes a line of text
또한 보기: TextWriter::writeln()
public writeln ( string $text = '', $pipe = TextWriter::STDOUT ) : Command
$text string
리턴 Command

프로퍼티 상세

$textWriter 보호되어 있는 프로퍼티

protected TextWriter,consolekit $textWriter
리턴 consolekit\TextWriter