PHP 클래스 Webmozart\Console\UI\Style\BorderStyle

Use {@link none()}, {@link ascii()} or {@link solid()} to obtain predefined border styles.
부터: 1.0
저자: Bernhard Schussek ([email protected])
파일 보기 프로젝트 열기: webmozart/console 1 사용 예제들

공개 메소드들

메소드 설명
ascii ( ) : BorderStyle A style that uses ASCII characters only.
getCornerBLChar ( ) : string Returns the character used to draw a corner on the bottom left.
getCornerBRChar ( ) : string Returns the character used to draw a corner on the bottom right.
getCornerTLChar ( ) : string Returns the character used to draw a corner on the top left.
getCornerTRChar ( ) : string Returns the character used to draw a corner on the top right.
getCrossingBChar ( ) : string Returns the character used to draw a crossing at the bottom.
getCrossingCChar ( ) : string Returns the character used to draw a crossing at the center.
getCrossingLChar ( ) : string Returns the character used to draw a crossing on the left.
getCrossingRChar ( ) : string Returns the character used to draw a crossing on the right.
getCrossingTChar ( ) : string Returns the character used to draw a crossing at the top.
getLineHBChar ( ) : string Returns the character used to draw a horizontal line at the bottom.
getLineHCChar ( ) : string Returns the character used to draw a horizontal line at the center.
getLineHTChar ( ) : string Returns the character used to draw a horizontal line at the top.
getLineVCChar ( ) : string Returns the character used to draw a vertical line in the middle.
getLineVLChar ( ) : string Returns the character used to draw a vertical line on the left.
getLineVRChar ( ) : string Returns the character used to draw a vertical line on the right.
getStyle ( ) : Style Returns the border style.
none ( ) : BorderStyle A borderless style.
setCornerBLChar ( string $char ) : static Sets the character used to draw a corner on the bottom left.
setCornerBRChar ( string $char ) : static Sets the character used to draw a corner on the bottom right.
setCornerTLChar ( string $char ) : static Sets the character used to draw a corner on the top left.
setCornerTRChar ( string $char ) : static Sets the character used to draw a corner on the top right.
setCrossingBChar ( string $char ) : static Sets the character used to draw a crossing at the bottom.
setCrossingCChar ( string $char ) : static Sets the character used to draw a crossing at the center.
setCrossingLChar ( string $char ) : static Sets the character used to draw a crossing on the left.
setCrossingRChar ( string $char ) : static Sets the character used to draw a crossing on the right.
setCrossingTChar ( string $char ) : static Sets the character used to draw a crossing at the top.
setLineHBChar ( string $char ) : static Sets the character used to draw a horizontal line at the bottom.
setLineHCChar ( string $char ) : static Sets the character used to draw a horizontal line at the center.
setLineHTChar ( string $char ) : static Sets the character used to draw a horizontal line at the top.
setLineVCChar ( string $char ) : static Sets the character used to draw a vertical line in the middle.
setLineVLChar ( string $char ) : static Sets the character used to draw a vertical line on the left.
setLineVRChar ( string $char ) : static Sets the character used to draw a vertical line on the right.
setStyle ( Style $style ) : static Sets the border style.
solid ( ) : BorderStyle A style that uses Unicode characters to draw solid lines.

메소드 상세

ascii() 공개 정적인 메소드

A style that uses ASCII characters only.
public static ascii ( ) : BorderStyle
리턴 BorderStyle The style.

getCornerBLChar() 공개 메소드

Returns the character used to draw a corner on the bottom left.
public getCornerBLChar ( ) : string
리턴 string The corner character.

getCornerBRChar() 공개 메소드

Returns the character used to draw a corner on the bottom right.
public getCornerBRChar ( ) : string
리턴 string The corner character.

getCornerTLChar() 공개 메소드

Returns the character used to draw a corner on the top left.
public getCornerTLChar ( ) : string
리턴 string The corner character.

getCornerTRChar() 공개 메소드

Returns the character used to draw a corner on the top right.
public getCornerTRChar ( ) : string
리턴 string The corner character.

getCrossingBChar() 공개 메소드

Returns the character used to draw a crossing at the bottom.
public getCrossingBChar ( ) : string
리턴 string The crossing character.

getCrossingCChar() 공개 메소드

Returns the character used to draw a crossing at the center.
public getCrossingCChar ( ) : string
리턴 string The crossing character.

getCrossingLChar() 공개 메소드

Returns the character used to draw a crossing on the left.
public getCrossingLChar ( ) : string
리턴 string The crossing character.

getCrossingRChar() 공개 메소드

Returns the character used to draw a crossing on the right.
public getCrossingRChar ( ) : string
리턴 string The crossing character.

getCrossingTChar() 공개 메소드

Returns the character used to draw a crossing at the top.
public getCrossingTChar ( ) : string
리턴 string The crossing character.

getLineHBChar() 공개 메소드

Returns the character used to draw a horizontal line at the bottom.
public getLineHBChar ( ) : string
리턴 string The line character.

getLineHCChar() 공개 메소드

Returns the character used to draw a horizontal line at the center.
public getLineHCChar ( ) : string
리턴 string The line character.

getLineHTChar() 공개 메소드

Returns the character used to draw a horizontal line at the top.
public getLineHTChar ( ) : string
리턴 string The line character.

getLineVCChar() 공개 메소드

Returns the character used to draw a vertical line in the middle.
public getLineVCChar ( ) : string
리턴 string The line character.

getLineVLChar() 공개 메소드

Returns the character used to draw a vertical line on the left.
public getLineVLChar ( ) : string
리턴 string The line character.

getLineVRChar() 공개 메소드

Returns the character used to draw a vertical line on the right.
public getLineVRChar ( ) : string
리턴 string The line character.

getStyle() 공개 메소드

Returns the border style.
public getStyle ( ) : Style
리턴 Webmozart\Console\Api\Formatter\Style The border style.

none() 공개 정적인 메소드

A borderless style.
public static none ( ) : BorderStyle
리턴 BorderStyle The style.

setCornerBLChar() 공개 메소드

Sets the character used to draw a corner on the bottom left.
public setCornerBLChar ( string $char ) : static
$char string The corner character.
리턴 static The current instance.

setCornerBRChar() 공개 메소드

Sets the character used to draw a corner on the bottom right.
public setCornerBRChar ( string $char ) : static
$char string The corner character.
리턴 static The current instance.

setCornerTLChar() 공개 메소드

Sets the character used to draw a corner on the top left.
public setCornerTLChar ( string $char ) : static
$char string The corner character.
리턴 static The current instance.

setCornerTRChar() 공개 메소드

Sets the character used to draw a corner on the top right.
public setCornerTRChar ( string $char ) : static
$char string The corner character.
리턴 static The current instance.

setCrossingBChar() 공개 메소드

Sets the character used to draw a crossing at the bottom.
public setCrossingBChar ( string $char ) : static
$char string The crossing character.
리턴 static The current instance.

setCrossingCChar() 공개 메소드

Sets the character used to draw a crossing at the center.
public setCrossingCChar ( string $char ) : static
$char string The crossing character.
리턴 static The current instance.

setCrossingLChar() 공개 메소드

Sets the character used to draw a crossing on the left.
public setCrossingLChar ( string $char ) : static
$char string The crossing character.
리턴 static The current instance.

setCrossingRChar() 공개 메소드

Sets the character used to draw a crossing on the right.
public setCrossingRChar ( string $char ) : static
$char string The crossing character.
리턴 static The current instance.

setCrossingTChar() 공개 메소드

Sets the character used to draw a crossing at the top.
public setCrossingTChar ( string $char ) : static
$char string The crossing character.
리턴 static The current instance.

setLineHBChar() 공개 메소드

Sets the character used to draw a horizontal line at the bottom.
public setLineHBChar ( string $char ) : static
$char string The line character.
리턴 static The current instance.

setLineHCChar() 공개 메소드

Sets the character used to draw a horizontal line at the center.
public setLineHCChar ( string $char ) : static
$char string The line character.
리턴 static The current instance.

setLineHTChar() 공개 메소드

Sets the character used to draw a horizontal line at the top.
public setLineHTChar ( string $char ) : static
$char string The line character.
리턴 static The current instance.

setLineVCChar() 공개 메소드

Sets the character used to draw a vertical line in the middle.
public setLineVCChar ( string $char ) : static
$char string The line character.
리턴 static The current instance.

setLineVLChar() 공개 메소드

Sets the character used to draw a vertical line on the left.
public setLineVLChar ( string $char ) : static
$char string The line character.
리턴 static The current instance.

setLineVRChar() 공개 메소드

Sets the character used to draw a vertical line on the right.
public setLineVRChar ( string $char ) : static
$char string The line character.
리턴 static The current instance.

setStyle() 공개 메소드

Sets the border style.
public setStyle ( Style $style ) : static
$style Webmozart\Console\Api\Formatter\Style The border style.
리턴 static The current instance.

solid() 공개 정적인 메소드

A style that uses Unicode characters to draw solid lines.
public static solid ( ) : BorderStyle
리턴 BorderStyle The style.