protected function addClientMethodCall() { $args = func_get_args(); $name = array_shift($args); $this->promptMessages[] = array($name => $args); }