Méthode |
Description |
|
__destruct ( ) |
|
|
_out ( $str ) |
|
|
addStream ( $stream, $prefix = null, $color = null ) |
|
|
afterAdd ( $me, $o ) |
|
|
defaultTemplate ( ) |
|
|
err ( $str ) |
Displays error on the console (in red). |
|
getProcessIO ( ) |
|
|
jsEval ( $str ) |
Add ability to send javascript. |
|
out ( $str, $opt = [] ) |
Displays output in the console. |
|
render ( ) |
|
|
set ( callable $callback ) |
Evaluates piece of code. |
|
sseMessageJSON ( $text, $id = null ) |
Sends text or structured data through SSE channel encoded
in JSON format. You may supply id argument. |
|
sseMessageLine ( $text, $id = null ) |
Sends text through SSE channel. Text may contain newlines
which will be transmitted proprely. Optionally you can
specify ID also. |
|