Phpcraft
|
Public Member Functions | |
__construct ($title=null) | |
render () | |
append (string $message) | |
add (string $message) | |
Plain user interface, e.g. writing logs to a file.
Phpcraft\PlainUserInterface::__construct | ( | $title = null | ) |
Note that from this point forward, STDIN is in the hands of pas, if it wasn't already, so make sure to register a "stdin_line" event handler with pas if you'd like input to work.
string | null | $title | The title that the terminal window will be given or null. |
Reimplemented from Phpcraft\UserInterface.
Phpcraft\PlainUserInterface::add | ( | string | $message | ) |
Prints the given message.
string | $message |
Reimplemented from Phpcraft\UserInterface.
Phpcraft\PlainUserInterface::append | ( | string | $message | ) |
Prints the given message. Only available in accordance with UserInterface, appending messages is not supported here.
string | $message |
Reimplemented from Phpcraft\UserInterface.
Phpcraft\PlainUserInterface::render | ( | ) |
Does nothing. Only available in accordance with UserInterface.
Reimplemented from Phpcraft\UserInterface.