public function setMethod($method) { if (mb_strpos($method, 'rpc.') === 0) { throw new RequestException('Invalid use of reserved method name.'); } return parent::setMethod($method); }