public function prompt($str)
    {
        self::write( $str, false );
        $this->user_response = trim( fgets( $this->input, 4096 ) );
    }
public function prompt($str)
    {
        self::write( $str, false );
        $this->user_response = trim( fgets( $this->input, 4096 ) );
    }
public function prompt ( $ str ) { self :: write ( $ str , false ) ; $ this -> user_response = trim ( fgets ( $ this -> input , 4096 ) ) ; }
Write a message on `STDOUT` and wait for a user input on `STDIN`

@param string $str The error message string to write
@return void
Write a message on STDOUT and wait for a user input on STDIN