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

Inheritance: extends Symfony\Component\Serializer\Normalizer\AbstractObjectNormalizer
Afficher le fichier Open project: symfony/symfony Class Usage Examples

Méthodes publiques

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

Méthodes protégées

Méthode 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 méthode

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

getAttributeValue() protected méthode

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

instantiateObject() public méthode

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

isAllowedAttribute() protected méthode

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

setAttributeValue() protected méthode

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