ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilRpcClientFactory.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
25{
33 public static function factory(string $a_package, int $a_timeout = 0): ilRpcClient
34 {
35 return new ilRpcClient(
36 ilRPCServerSettings::getInstance()->getServerUrl(),
37 $a_package . '.',
38 $a_timeout,
39 'UTF-8'
40 );
41 }
42}
@classDescription Factory for ILIAS rpc client
static factory(string $a_package, int $a_timeout=0)
Creates an ilRpcClient instance to our ilServer.
Class ilRpcClient.