Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. AbstractObjectNormalizer.php

function AbstractObjectNormalizer::getAttributeValue

Gets the attribute value.

2 calls to AbstractObjectNormalizer::getAttributeValue()
AbstractObjectNormalizer::denormalize in vendor/symfony/serializer/Normalizer/AbstractObjectNormalizer.php
Denormalizes data back into an object of the given class.
AbstractObjectNormalizer::normalize in vendor/symfony/serializer/Normalizer/AbstractObjectNormalizer.php
Normalizes data into a set of arrays/scalars.
3 methods override AbstractObjectNormalizer::getAttributeValue()
GetSetMethodNormalizer::getAttributeValue in vendor/symfony/serializer/Normalizer/GetSetMethodNormalizer.php
Gets the attribute value.
ObjectNormalizer::getAttributeValue in vendor/symfony/serializer/Normalizer/ObjectNormalizer.php
Gets the attribute value.
PropertyNormalizer::getAttributeValue in vendor/symfony/serializer/Normalizer/PropertyNormalizer.php
Gets the attribute value.

File

vendor/symfony/serializer/Normalizer/AbstractObjectNormalizer.php, line 293

Class

AbstractObjectNormalizer
Base class for a normalizer dealing with objects.

Namespace

Symfony\Component\Serializer\Normalizer

Code

protected abstract function getAttributeValue(object $object, string $attribute, ?string $format = null, array $context = []) : mixed;

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal