__construct()
fromXml()
fromXmlString()
getContentType()
mapFromStorage()
mapToStorage()
toXML()
toXMLString()
castValue()
mapObjectToElementName()
propertyToXmlkey()
propertyToXmlkeyCallback()
sortKeyLength()
strEndsWith()
xmlElementToClassname()
xmlkeyToProperty()
xmlkeyToPropertyCallback()
$objectMapper
Translates XML into objects and objects into XML
__construct()
fromXml(\Moneybird\SimpleXMLElement $xmlElement)
fromXmlString(string $xmlstring)
getContentType() : string
string
mapToStorage(\Moneybird\Mapper_Mapable $subject) : string
toXML(\Moneybird\Mapper_Mapable $subject) : \Moneybird\SimpleXMLElement
access | public |
---|
toXMLString(\Moneybird\Mapper_Mapable $subject) : string
castValue(\Moneybird\SimpleXMLElement $xmlElement) : mixed
mapObjectToElementName(\Moneybird\Mapper_Mapable $subject) : string
propertyToXmlkey(string $key) : string
access | protected |
---|
string
string
propertyToXmlkeyCallback(Array $match) : string
access | protected |
---|
Array
string
sortKeyLength(string $a, string $b) : int
string
string
int
strEndsWith(string $str, string $end) : bool
access | protected |
---|
string
string
bool
xmlElementToClassname(\Moneybird\SimpleXMLElement $xmlElement) : string
xmlkeyToProperty(string $key) : string
access | protected |
---|
string
string
xmlkeyToPropertyCallback(Array $match) : string
access | protected |
---|
Array
string
$objectMapper : Array