Horde_Cli::bold PHP Method

bold() public method

Returns a bold version of $text.
public bold ( string $text ) : string
$text string The text to bold.
return string The bolded text.
    public function bold($text)
    {
        return $this->_bold_start . $text . $this->_bold_end;
    }

Usage Example

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