Core/CoreHelper.phpView Source

Show: PublicProtectedPrivateinherited
Table of Contents
Package
Default  

\CoreHelper

Package: Default
Helper class.

Methods

methodpublicCheckNullResponseAndThrowException( $response) : void
static

Checks whether the reponse is null or empty and throws communication exception.

Parameters
NameTypeDescription
$response
methodpublicGetCompressor( $serviceContext,  $isRequest) : \IEntityCompression
static

Gets the compression mechanism using the service context and the depending on the request and response.

Parameters
NameTypeDescription
$serviceContext
$isRequest
Returns
TypeDescription
\IEntityCompressionThe Compression mechanism.
methodpublicGetRequestLogging( $serviceContext) : \LogRequestsToDisk
static

Gets the Request Response Logging mechanism.

Parameters
NameTypeDescription
$serviceContext
Returns
TypeDescription
\LogRequestsToDiskReturns value which specifies the request response logging mechanism.
methodpublicGetSerializer( $serviceContext,  $isRequest) : \IEntitySerializer
static

Gets the serializer mechanism using the service context and the depending on the request and response.

Parameters
NameTypeDescription
$serviceContext
$isRequest
Returns
TypeDescription
\IEntitySerializerThe Serializer mechanism.
methodpublicParseResponseIntoXml() : \SimpleXMLElement
static

This function is deprecated use simplexml_load_string() instead.

Returns
TypeDescription
\SimpleXMLElementThe SimpleXMLElement object.
Details
Deprecated
since version v2.1  
Documentation was generated by phpDocumentor 2.8.5.