src/Console/Formatter.php
public function format($text = '', string $style = 'none')
    {
        return $this->getStartMark($style) . $text . $this->getClearMark();
    }
public function format($text = '', string $style = 'none')
    {
        return $this->getStartMark($style) . $text . $this->getClearMark();
    }
public function format ( $ text = '' , string $ style = 'none' ) { return $ this -> getStartMark ( $ style ) . $ text . $ this -> getClearMark ( ) ; }
Formats a text according to the given style or parameters.

@param string $text  The text to style
@param string $style A style name

@return string The styled text
Formats a text according to the given style or parameters .