NORMAL
NORMAL = 0
Color indices
Console class
setWidth(integer $width) : \Pop\Console\Console
Set the wrap width of the console object
integer | $width |
setIndent(string $indent = null) : \Pop\Console\Console
Set the indentation of the console object
string | $indent |
setHeader(string $header) : \Pop\Console\Console
Set the console header
string | $header |
setFooter(string $footer) : \Pop\Console\Console
Set the console footer
string | $footer |
setHeaderSent(boolean $headerSent = true) : \Pop\Console\Console
Set the console header sent flag
boolean | $headerSent |
setHelpColors(integer $color1, integer $color2 = null, integer $color3 = null) : \Pop\Console\Console
Set the console help colors
integer | $color1 | |
integer | $color2 | |
integer | $color3 |
addCommand(\Pop\Console\Command $command) : \Pop\Console\Console
Add a command
\Pop\Console\Command | $command |
addCommands(array $commands) : \Pop\Console\Console
Add commands
array | $commands |
getCommand(string $command) : \Pop\Console\Command
Get a command
string | $command |
addCommandsFromRoutes(\Pop\Router\Match\Cli $routeMatch, string $scriptName = null) : \Pop\Console\Console
Add commands from routes
\Pop\Router\Match\Cli | $routeMatch | |
string | $scriptName |
append(string $text = null, boolean $newline = true) : \Pop\Console\Console
Append a string of text to the response body
string | $text | |
boolean | $newline |
write(string $text = null, boolean $newline = true, boolean $withHeaders = true) : \Pop\Console\Console
Write a string of text to the response body and send the response
string | $text | |
boolean | $newline | |
boolean | $withHeaders |
send(boolean $withHeaders = true) : \Pop\Console\Console
Send the response
boolean | $withHeaders |