CodeExplorer propertyAllowed example
$decoded['translated'
]['customFields'
] =
new \
stdClass();
} return $this->
removeNotAllowedFields($decoded,
$definition,
$baseUrl);
} private function filterIncludes(array
$includes, array
$decoded, Struct
$struct): array
{ $alias =
$struct->
getApiAlias();
foreach ($decoded as $property =>
$value) { if (!
$this->
propertyAllowed($includes,
$alias,
$property)) { unset($decoded[$property]);
continue;
} if (!\
is_array($value)) { continue;
} $object =
$struct->
getVars()[$property];