BaseAdapter
in package
implements
AdapterInterface
Remote Object base adapter
Interfaces, Classes, Traits and Enums
- AdapterInterface
- Remote Object adapter interface
Table of Contents
- $client : mixed
- $map : array<string, string>
- Service name mapping
- __construct() : mixed
- Constructor
- call() : mixed
- Call remote object
- getServiceName() : string
- Get the service name will be used by the adapter
Properties
$client
protected
mixed
$client
$map
Service name mapping
protected
array<string, string>
$map
= []
Methods
__construct()
Constructor
public
__construct(Client $client[, array<string, string> $map = [] ]) : mixed
Parameters
- $client : Client
- $map : array<string, string> = []
-
map of service names to their aliases
Return values
mixed —call()
Call remote object
public
call(string $wrappedClass, string $method[, array<string|int, mixed> $params = [] ]) : mixed
Parameters
- $wrappedClass : string
- $method : string
- $params : array<string|int, mixed> = []
Return values
mixed —getServiceName()
Get the service name will be used by the adapter
protected
abstract getServiceName(string $wrappedClass, string $method) : string
Parameters
- $wrappedClass : string
- $method : string