Joli\Jane\Tests\Expected\Normalizer\ParenttypeNormalizer::denormalize PHP Метод

denormalize() публичный Метод

public denormalize ( $data, $class, $format = null, array $context = [] )
$context array
    public function denormalize($data, $class, $format = null, array $context = [])
    {
        $object = new \Joli\Jane\Tests\Expected\Model\Parenttype();
        if (property_exists($data, 'inheritedProperty')) {
            $object->setInheritedProperty($data->{'inheritedProperty'});
        }
        return $object;
    }