Utility/IEntitySerializer.phpView Source

Show: PublicProtectedPrivateinherited
Table of Contents
Package
Default  

\IEntitySerializer

Package: Default
Entity serialize contract.
Children
\XmlObjectSerializer
\JsonObjectSerializer

Methods

methodpublicDeserialize( $message,  $limit = FALSE) : string

DeSerializes the message to Type T.

Parameters
NameTypeDescription
$message
$limit
Returns
TypeDescription
stringReturns the deserialized message.
methodpublicSerialize( $entity) : object

Serializes the specified entity.

Parameters
NameTypeDescription
$entity
Returns
TypeDescription
objectReturns the serialize entity in string format.
methodpubliccleanPhpClassNameToIntuitEntityName(string $phpClassName) : string
static

Clean a POPO class name (like 'IPPClass') to be an IPP v3 Entity name (like 'Class')

Parameters
NameTypeDescription
$phpClassNamestring

POPO class name

Returns
TypeDescription
stringIntuit Entity name
methodpublicgetResourceURL() : void

Returns resource url (basically message type)

Documentation was generated by phpDocumentor 2.8.5.