\Threema\CoreAssocArray

Summary

Methods
Properties
Constants
__construct()
getValue()
byJsonString()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$data
N/A

Properties

$data

$data : array

Type

array

Methods

__construct()

__construct(array  $data) 

Parameters

array $data

getValue()

getValue(string  $key, null  $defaultValue = null) : mixed|null

Parameters

string $key
null $defaultValue

Returns

mixed|null —

return the key value or the default value

byJsonString()

byJsonString(  $string, array|null  $requiredKeys = null) : \Threema\Core\AssocArray

Parameters

$string
array|null $requiredKeys

Throws

\Threema\Core\Exception

Returns

\Threema\Core\AssocArray