Arquivos
hhvm/hphp/system/php/DebuggerCommand.php
T
Drew Paroski e6b6aa0b09 Clean up the hphp/system folder
I noticed that directorty structure of hphp/system was a bit scattered, so
I consolidated things to reduce the total number of folders and to put
related things together with each other.

This diff moves the contents of "hphp/system/classes_hhvm" into
"hphp/system", it moves the contents of "hphp/system/lib" into
"hphp/system", moves "hphp/idl" to "hphp/system/idl", and moves the
contents of "hphp/system/globals" into "hphp/system/idl".
2013-06-15 23:29:49 -07:00

33 linhas
856 B
PHP

<?php
interface DebuggerCommand {
/**
* Called when DebuggerClient needs to auto-complete. Inside this function,
* one can call $client->addCompletion() with a list of strings or one of
* those DebuggerClient::AUTO_COMPLETE_ constants.
*/
public function onAutoComplete($client);
/**
* Called when DebuggerClient needs to displays help on the command. Inside
* this function, one can call $client->help() and its different forms.
*
* @return TRUE if helped, FALSE if any error
*/
public function help($client);
/**
* How to process the command on client side.
*
* @return TRUE for success, FALSE for failure
*/
public function onClient($client);
/**
* How to process the command on server side.
*
* @return TRUE for success, FALSE for failure
*/
public function onServer($proxy);
}