hasNested example

if ($property === 'extensions') {
                $data[$property] = $this->encodeExtensions($struct$fields$value);

                if (empty($data[$property])) {
                    unset($data[$property]);
                }

                continue;
            }

            if (!$this->isAllowed($alias(string) $property$fields) && !$fields->hasNested($alias(string) $property)) {
                unset($data[$property]);

                continue;
            }

            if (!\is_array($value)) {
                continue;
            }

            $object = $value;
            if (\array_key_exists($property$struct->getVars())) {
                
Home | Imprint | This part of the site doesn't use cookies.