\BorisReadlineClient

The Readline client is what the user spends their time entering text into.

Input is collected and sent to \Boris\EvalWorker for processing.

Summary

Methods
Properties
Constants
__construct()
start()
clear()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$_socket
$_prompt
$_historyFile
$_clear
N/A

Properties

$_socket

$_socket : 

Type

$_prompt

$_prompt : 

Type

$_historyFile

$_historyFile : 

Type

$_clear

$_clear : 

Type

Methods

__construct()

__construct(resource  $socket) 

Create a new ReadlineClient using $socket for communication.

Parameters

resource $socket

start()

start(string  $prompt, string  $historyFile) 

Start the client with an prompt and readline history path.

This method never returns.

Parameters

string $prompt
string $historyFile

clear()

clear() 

Clear the input buffer.