src/Readline.php
public function prompt()
    {
        if ($this->hasReadline) {
            readline_callback_handler_install($this->getPrompt(), [ $this, 'lineHandler' ]);
        } else {
            if ($this->paused) { $this->resume(); }
            $this->console->log($this->getPrompt());
        }

        return $this;
    }
public function prompt()
    {
        if ($this->hasReadline) {
            readline_callback_handler_install($this->getPrompt(), [ $this, 'lineHandler' ]);
        } else {
            if ($this->paused) { $this->resume(); }
            $this->console->log($this->getPrompt());
        }

        return $this;
    }
public function prompt ( ) { if ( $ this -> hasReadline ) { readline_callback_handler_install ( $ this -> getPrompt ( ) , [ $ this , 'lineHandler' ] ) ; } else { if ( $ this -> paused ) { $ this -> resume ( ) ; } $ this -> console -> log ( $ this -> getPrompt ( ) ) ; } return $ this ; }
Writes the prompt to the output.

@return $this
Writes the prompt to the output .