public function prompt($text) {

        // send out any escaping to implement anything sitting in the desired state
        $this->outputEscapeSequence();

        // save off the prompt string
        $prompt = $text  . $this->promptCaret . " ";

        // prompt and return the answer
        return $this->readUserInput($prompt);

    }
public function prompt($text) {

        // send out any escaping to implement anything sitting in the desired state
        $this->outputEscapeSequence();

        // save off the prompt string
        $prompt = $text  . $this->promptCaret . " ";

        // prompt and return the answer
        return $this->readUserInput($prompt);

    }
public function prompt ( $ text ) { // send out any escaping to implement anything sitting in the desired state $ this -> outputEscapeSequence ( ) ; // save off the prompt string $ prompt = $ text . $ this -> promptCaret . " " ; // prompt and return the answer return $ this -> readUserInput ( $ prompt ) ; }
Prompt for a value.

@param $text - the prompt string
@return string
Prompt for a value .