Horde_Cli::yellow PHP Method

yellow() public method

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

Usage Example

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