Documentation

ConsoleReader
in package

Table of Contents

$stdin  : resource
__construct()  : mixed
__destruct()  : mixed
readLine()  : string|null
Reads a line from the console and adds it to the buffer. This method may block the thread.
initStdin()  : void

Properties

Methods

__construct()

public __construct() : mixed
Return values
mixed

__destruct()

public __destruct() : mixed
Return values
mixed

readLine()

Reads a line from the console and adds it to the buffer. This method may block the thread.

public readLine() : string|null
Return values
string|null

initStdin()

private initStdin() : void
Return values
void

Search results