public function outputTitle($title, $primary = true)
    {
        $l = strlen($title);
        if ($primary) {
            $this->output->outputLine(str_repeat('-', $l), 'title');
        }
        $this->output->outputLine($title, $primary ? 'title' : 'subtitle');
        if ($primary) {
            $this->output->outputLine(str_repeat('-', $l), 'title');
        }
    }
public function outputTitle($title, $primary = true)
    {
        $l = strlen($title);
        if ($primary) {
            $this->output->outputLine(str_repeat('-', $l), 'title');
        }
        $this->output->outputLine($title, $primary ? 'title' : 'subtitle');
        if ($primary) {
            $this->output->outputLine(str_repeat('-', $l), 'title');
        }
    }
public function outputTitle ( $ title , $ primary = true ) { $ l = strlen ( $ title ) ; if ( $ primary ) { $ this -> output -> outputLine ( str_repeat ( '-' , $ l ) , 'title' ) ; } $ this -> output -> outputLine ( $ title , $ primary ? 'title' : 'subtitle' ) ; if ( $ primary ) { $ this -> output -> outputLine ( str_repeat ( '-' , $ l ) , 'title' ) ; } }
Print a pretty title

@param string $title   The title to print
@param bool   $primary True to print a big title, else print a small title

@since 1.0.0
@return  void
Print a pretty title