Arquivos
hhvm/hphp/system/classes/debugger.php
T
Jordan Delong 363d1bb20f Code move src/ -> hphp/
This change is mostly for FB internal organizational reasons.
Building is not effected beyond the fact that the target now
lands in hphp/hhvm/hhvm rather than src/hhvm/hhvm.
2013-02-11 02:10:41 -08: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);
}