| Total Complexity | 4 |
| Total Lines | 39 |
| Duplicated Lines | 0 % |
| Coverage | 92.31% |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php require_once __DIR__ . "/_prepend.php"; ?><html lang="en"> |
||
| 10 | class PhpXmlRpcProxy |
||
| 11 | { |
||
| 12 | protected $client; |
||
| 13 | protected $prefix = 'examples.'; |
||
| 14 | |||
| 15 | 1 | public function __construct(PhpXmlRpc\Client $client) |
|
| 16 | { |
||
| 17 | 1 | $this->client = $client; |
|
| 18 | 1 | } |
|
| 19 | |||
| 20 | /** |
||
| 21 | * Translates any method call to an xmlrpc call. |
||
| 22 | * |
||
| 23 | * @author Toth Istvan |
||
| 24 | * |
||
| 25 | * @param string $name remote function name. Will be prefixed |
||
| 26 | * @param array $arguments |
||
| 27 | * |
||
| 28 | * @return mixed |
||
| 29 | * |
||
| 30 | * @throws Exception |
||
| 31 | */ |
||
| 32 | 1 | public function __call($name, $arguments) |
|
| 49 | } |
||
| 50 | } |
||
| 60 |