__construct()
fromJson()
fromJsonString()
getContentType()
mapFromStorage()
mapToStorage()
toJson()
toJsonString()
jsonKeyToClassname()
keyToProperty()
keyToPropertyCallback()
mapObjectToElementName()
propertyToKey()
propertyToKeyCallback()
sortKeyLength()
strEndsWith()
$objectMapper
Translates JSON into objects and objects into JSON
__construct()
fromJson(array $jsonArray)
| access | public |
|---|
fromJsonString(string $jsonstring)
| access | public |
|---|
string
getContentType() : string
stringmapToStorage(\Moneybird\Mapper_Mapable $subject) : string
toJson(\Moneybird\Mapper_Mapable $subject) : \Moneybird\SimpleXMLElement
| access | public |
|---|
toJsonString(\Moneybird\Mapper_Mapable $subject) : string
jsonKeyToClassname(string $jsonKey) : string
| access | protected |
|---|
string
stringkeyToProperty(string $key) : string
| access | protected |
|---|
string
stringkeyToPropertyCallback(Array $match) : string
| access | protected |
|---|
Array
stringmapObjectToElementName(\Moneybird\Mapper_Mapable $subject) : string
propertyToKey(string $key) : string
| access | protected |
|---|
string
stringpropertyToKeyCallback(Array $match) : string
| access | protected |
|---|
Array
stringsortKeyLength(string $a, string $b) : int
string
string
intstrEndsWith(string $str, string $end) : bool
| access | protected |
|---|
string
string
bool$objectMapper : Array