Prado\Util\TRpcClient::create PHP Метод

create() публичный статический Метод

Creates an instance of the requested RPC client type
public static create ( $type, $serverUrl, $isNotification = false ) : TRpcClient
Результат TRpcClient instance
    public static function create($type, $serverUrl, $isNotification = false)
    {
        if (($_handler = constant('TRpcClientTypesEnumerable::' . strtoupper($type))) === null) {
            throw new TApplicationException('rpcclient_unsupported_handler');
        }
        return new $_handler($serverUrl, $isNotification);
    }