Utility/IEntitySerializer.php
- Package
- Default
Package: DefaultEntity serialize contract.
- Children
- \XmlObjectSerializer
- \JsonObjectSerializer
Methods



Deserialize( $message, $limit = FALSE) : string
DeSerializes the message to Type T.
ParametersName | Type | Description |
---|
$message | | |
---|
$limit | | |
---|
ReturnsType | Description |
---|
string | Returns the deserialized message. |



Serialize( $entity) : object
Serializes the specified entity.
ParametersName | Type | Description |
---|
$entity | | |
---|
ReturnsType | Description |
---|
object | Returns the serialize entity in string format. |



cleanPhpClassNameToIntuitEntityName(string $phpClassName) : string
staticClean a POPO class name (like 'IPPClass') to be an IPP v3 Entity name (like 'Class')
ParametersName | Type | Description |
---|
$phpClassName | string | POPO class name |
---|
ReturnsType | Description |
---|
string | Intuit Entity name |