Horde_Cli::blue PHP Method

blue() public method

Returns a blue version of $text.
public blue ( string $text ) : string
$text string The text to print in blue.
return string The blue text.
    public function blue($text)
    {
        return $this->_blue_start . $text . $this->_blue_end;
    }

Usage Example

Example #1
0
 public function blue($text)
 {
     if ($this->_nocolor) {
         $this->_cli->writeln($text);
     } else {
         $this->_cli->writeln($this->_cli->blue($text));
     }
 }
All Usage Examples Of Horde_Cli::blue