\adminmatrix\swoole\rpc\clientProxy

Summary

Methods
Properties
Constants
__construct()
withContext()
getClassName()
No public properties found
No constants found
proxyCall()
$interface
$gateway
$app
$middleware
$context
N/A
No private methods found
No private properties found
N/A

Properties

$interface

$interface

$gateway

$gateway : \adminmatrix\swoole\rpc\client\Gateway

Type

Gateway

$app

$app : \think\App

Type

\think\App —

$middleware

$middleware

$context

$context

Methods

__construct()

__construct(\think\App  $app, \adminmatrix\swoole\rpc\client\Gateway  $gateway, mixed  $middleware) : mixed

Parameters

\think\App $app
\adminmatrix\swoole\rpc\client\Gateway $gateway
mixed $middleware

Returns

mixed —

withContext()

withContext(mixed  $context) : self

Parameters

mixed $context

Returns

self —

getClassName()

getClassName(mixed  $client, mixed  $interface) : mixed

Parameters

mixed $client
mixed $interface

Returns

mixed —

proxyCall()

proxyCall(mixed  $method, mixed  $params) : mixed

Parameters

mixed $method
mixed $params

Returns

mixed —