CommonUtil
in package
Warning:
This class subject to change without prior notice, Please dont use this class directly.
Tags
Table of Contents
- get_masked_string() : string
- getInvocationContext() : InvocationContex
- getSensitiveInfo() : mixed
- getTechDifficultiesError() : mixed
- getTimeStamp() : mixed
- getValidationMethod() : mixed
- isAPICallSuccessful() : mixed
- isAssociativeArray() : mixed
- isJson() : mixed
- json_serialize() : mixed
- mask_array_properties() : array<string|int, mixed>
- mask_entire_array_properties() : array<string|int, mixed>
- mask_entire_object_properties() : mixed
- mask_object_properties() : mixed
- mask_properties() : mixed
- mask_string() : mixed
- wrapHttpRequest() : mixed
Methods
get_masked_string()
public
static get_masked_string(mixed $data) : string
Parameters
- $data : mixed
Return values
string —getInvocationContext()
public
static getInvocationContext([array<string|int, mixed> $headers = null ]) : InvocationContex
Parameters
- $headers : array<string|int, mixed> = null
Return values
InvocationContex —getSensitiveInfo()
public
static getSensitiveInfo() : mixed
Return values
mixed —getTechDifficultiesError()
public
static getTechDifficultiesError() : mixed
Return values
mixed —getTimeStamp()
public
static getTimeStamp() : mixed
Return values
mixed —getValidationMethod()
public
static getValidationMethod(mixed $className, mixed $methodName) : mixed
Parameters
- $className : mixed
- $methodName : mixed
Return values
mixed —isAPICallSuccessful()
public
static isAPICallSuccessful(ApiException $e) : mixed
Parameters
- $e : ApiException
Return values
mixed —isAssociativeArray()
public
static isAssociativeArray(mixed $arr) : mixed
Parameters
- $arr : mixed
Return values
mixed —isJson()
public
static isJson(mixed $string) : mixed
Parameters
- $string : mixed
Return values
mixed —json_serialize()
public
static json_serialize(mixed $vars[, mixed $parent_vars = [] ]) : mixed
Parameters
- $vars : mixed
- $parent_vars : mixed = []
Return values
mixed —mask_array_properties()
public
static mask_array_properties( $array) : array<string|int, mixed>
Parameters
Return values
array<string|int, mixed> —mask_entire_array_properties()
public
static mask_entire_array_properties( $array, mixed $visible_length) : array<string|int, mixed>
Parameters
Return values
array<string|int, mixed> —mask_entire_object_properties()
public
static mask_entire_object_properties( $object, mixed $visible_length) : mixed
Parameters
Return values
mixed —mask_object_properties()
public
static mask_object_properties( $object) : mixed
Parameters
Return values
mixed —mask_properties()
public
static mask_properties(mixed $data) : mixed
Parameters
- $data : mixed
Return values
mixed —mask_string()
public
static mask_string(mixed $data, mixed $visible_length) : mixed
Parameters
- $data : mixed
- $visible_length : mixed
Return values
mixed —wrapHttpRequest()
public
static wrapHttpRequest([RequestInterface $http_request = null ][, mixed $_tempBody = null ][, mixed $formParams = null ]) : mixed
Parameters
- $http_request : RequestInterface = null
- $_tempBody : mixed = null
- $formParams : mixed = null