declare an object in php code example
Example: object php
//object init
$object = (object) [
'propertyOne' => 'foo',
'propertyTwo' => 42,
];
//object init
$object = (object) [
'propertyOne' => 'foo',
'propertyTwo' => 42,
];