Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Colors
Color
isAValidStyleName
Colors\Color::isAValidStyleName PHP Method
Color Class Documentation
Show file
Open project: kevinlebrun/colors.php
isAValidStyleName()
public
method
public
isAValidStyleName
(
$name
)
public function isAValidStyleName($name) { return preg_match(self::STYLE_NAME_PATTERN, $name); }
Color
__call
__construct
__get
__invoke
__toString
apply
applyStyle
applyUserStyle
are256ColorsSupported
bg
buildEscSeq
center
clean
colorize
colorizeText
fg
highlight
isAValidStyleName
isStyleExists
isStyleForced
isSupported
isUserStyleExists
replaceStyle
reset
setForceStyle
setInternalState
setTheme
setUserStyles
shouldStylize
strip
stripColors
stylize