original_string: public function prompt($question, $default = null, $marker = ': ')
      {
          if (isset($default) && strpos($question, '[') === false) {
              $question .= ' [default: ' . $default . ']';
          }
  
          $this->out($question . $marker);
  
          $input = $this->in();
  
          if ($input === '') {
              return $default;
          }
  
          return $input;
      }
code: public function prompt($question, $default = null, $marker = ': ')
      {
          if (isset($default) && strpos($question, '[') === false) {
              $question .= ' [default: ' . $default . ']';
          }
  
          $this->out($question . $marker);
  
          $input = $this->in();
  
          if ($input === '') {
              return $default;
          }
  
          return $input;
      }
code_tokens: public function prompt ( $ question , $ default = null , $ marker = ': ' ) { if ( isset ( $ default ) && strpos ( $ question , '[' ) === false ) { $ question .= ' [default: ' . $ default . ']' ; } $ this -> out ( $ question . $ marker ) ; $ input = $ this -> in ( ) ; if ( $ input === '' ) { return $ default ; } return $ input ; }
docstring: Displays an input prompt
  @param string $question
  @param string|null $default
  @param string $marker
  @return mixed
docstring_tokens: Displays an input prompt