PHP 클래스 Bluz\Cli\Colorize

저자: Anton Shevchuk
파일 보기 프로젝트 열기: bluzphp/framework 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$background list of background colors
$colors list of text colors

공개 메소드들

메소드 설명
text ( string $text, string $foreground = null, string $background = null, boolean $bold = false, boolean $underline = false ) : string Return string colorized for Linux console

메소드 상세

text() 공개 정적인 메소드

Return string colorized for Linux console
public static text ( string $text, string $foreground = null, string $background = null, boolean $bold = false, boolean $underline = false ) : string
$text string
$foreground string
$background string
$bold boolean
$underline boolean
리턴 string

프로퍼티 상세

$background 보호되어 있는 정적으로 프로퍼티

list of background colors
protected static $background

$colors 보호되어 있는 정적으로 프로퍼티

list of text colors
protected static $colors