PHP 클래스 ConsoleKit\Widgets\Box

상속: extends AbstractWidget
파일 보기 프로젝트 열기: maximebf/consolekit

보호된 프로퍼티들

프로퍼티 타입 설명
$lineCharacter string
$padding integer
$text string

공개 메소드들

메소드 설명
__construct ( ConsoleKit\TextWriter $writer = null, string $text = '', $lineCharacter = '*', $padding = 2 )
__toString ( )
getLineCharacter ( ) : string
getPadding ( ) : integer
getText ( ) : string
render ( ) : string
setLineCharacter ( $lineCharacter ) : Box
setPadding ( $padding ) : Box
setText ( $text ) : Box
write ( )

메소드 상세

__construct() 공개 메소드

public __construct ( ConsoleKit\TextWriter $writer = null, string $text = '', $lineCharacter = '*', $padding = 2 )
$writer ConsoleKit\TextWriter
$text string

__toString() 공개 메소드

public __toString ( )

getLineCharacter() 공개 메소드

public getLineCharacter ( ) : string
리턴 string

getPadding() 공개 메소드

public getPadding ( ) : integer
리턴 integer

getText() 공개 메소드

public getText ( ) : string
리턴 string

render() 공개 메소드

public render ( ) : string
리턴 string

setLineCharacter() 공개 메소드

public setLineCharacter ( $lineCharacter ) : Box
리턴 Box

setPadding() 공개 메소드

public setPadding ( $padding ) : Box
리턴 Box

setText() 공개 메소드

public setText ( $text ) : Box
리턴 Box

write() 공개 메소드

public write ( )

프로퍼티 상세

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

protected string $lineCharacter
리턴 string

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

protected int $padding
리턴 integer

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

protected string $text
리턴 string