public function finish($message)
    {
        if (!$this->started) {
            throw new LogicException('Progress indicator has not yet been started.');
        }

        $this->message = $message;
        $this->display();
        $this->output->writeln('');
        $this->started = false;
    }
public function finish($message)
    {
        if (!$this->started) {
            throw new LogicException('Progress indicator has not yet been started.');
        }

        $this->message = $message;
        $this->display();
        $this->output->writeln('');
        $this->started = false;
    }
public function finish ( $ message ) { if ( ! $ this -> started ) { throw new LogicException ( 'Progress indicator has not yet been started.' ) ; } $ this -> message = $ message ; $ this -> display ( ) ; $ this -> output -> writeln ( '' ) ; $ this -> started = false ; }
Finish the indicator with message.

@param $message
Finish the indicator with message .