PHP Class Symfony\Component\Serializer\Tests\Normalizer\AbstractObjectNormalizerDummy

Inheritance: extends Symfony\Component\Serializer\Normalizer\AbstractObjectNormalizer
Datei anzeigen Open project: symfony/symfony Class Usage Examples

Public Methods

Method Description
instantiateObject ( array &$data, $class, array &$context, ReflectionClass $reflectionClass, $allowedAttributes, $format = null )

Protected Methods

Method Description
extractAttributes ( $object, $format = null, array $context = [] )
getAttributeValue ( $object, $attribute, $format = null, array $context = [] )
isAllowedAttribute ( $classOrObject, $attribute, $format = null, array $context = [] )
setAttributeValue ( $object, $attribute, $value, $format = null, array $context = [] )

Method Details

extractAttributes() protected method

protected extractAttributes ( $object, $format = null, array $context = [] )
$context array

getAttributeValue() protected method

protected getAttributeValue ( $object, $attribute, $format = null, array $context = [] )
$context array

instantiateObject() public method

public instantiateObject ( array &$data, $class, array &$context, ReflectionClass $reflectionClass, $allowedAttributes, $format = null )
$data array
$context array
$reflectionClass ReflectionClass

isAllowedAttribute() protected method

protected isAllowedAttribute ( $classOrObject, $attribute, $format = null, array $context = [] )
$context array

setAttributeValue() protected method

protected setAttributeValue ( $object, $attribute, $value, $format = null, array $context = [] )
$context array