ServiceWrapper implements IService, IMultiClientService, IInternalService
Table of Contents
Interfaces
Methods
- canUseAsInternal() : bool
- check if service can use as internal
- canUseMultipleClients() : bool|null
- Can user multiple clients
- getAuthAdapter() : BusinessAuthAdapter
- getClientId() : string
- Get client id
- getEngineCode() : string|null
- getInstance() : static
- Get instance of service Wrapper
- getMetaData() : ServiceMetaData|null
- get service meta
- getMethodPrefix() : string
- get seoproxy method prefix
- getTypeByEngine() : string|null
- get type by engineCode
- getTypes() : array<string|int, mixed>|null
- setClientId() : mixed|void
- Set client id.
- setMeta() : ServiceWrapper
- set service meta
Methods
canUseAsInternal()
check if service can use as internal
public
static canUseAsInternal() : bool
Tags
Return values
boolcanUseMultipleClients()
Can user multiple clients
public
static canUseMultipleClients() : bool|null
Return values
bool|nullgetAuthAdapter()
public
static getAuthAdapter(string $type) : BusinessAuthAdapter
Parameters
- $type : string
Tags
Return values
BusinessAuthAdaptergetClientId()
Get client id
public
getClientId() : string
Return values
stringgetEngineCode()
public
static getEngineCode(string $type) : string|null
Parameters
- $type : string
Return values
string|nullgetInstance()
Get instance of service Wrapper
public
static getInstance() : static
Return values
staticgetMetaData()
get service meta
public
getMetaData() : ServiceMetaData|null
Return values
ServiceMetaData|nullgetMethodPrefix()
get seoproxy method prefix
public
static getMethodPrefix() : string
Tags
Return values
stringgetTypeByEngine()
get type by engineCode
public
static getTypeByEngine(string $engineCode) : string|null
Parameters
- $engineCode : string
Tags
Return values
string|nullgetTypes()
public
static getTypes() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|nullsetClientId()
Set client id.
public
setClientId(string $clientId) : mixed|void
Parameters
- $clientId : string
Tags
Return values
mixed|voidsetMeta()
set service meta
public
setMeta(ServiceMetaData|null $metaData) : ServiceWrapper
Parameters
- $metaData : ServiceMetaData|null