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

Breadcrumb

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

function AbstractObjectNormalizer::extractAttributes

Extracts attributes to normalize from the class of the given object, format and context.

Return value

string[]

1 call to AbstractObjectNormalizer::extractAttributes()
AbstractObjectNormalizer::getAttributes in vendor/symfony/serializer/Normalizer/AbstractObjectNormalizer.php
Gets and caches attributes for the given object, format and context.
3 methods override AbstractObjectNormalizer::extractAttributes()
GetSetMethodNormalizer::extractAttributes in vendor/symfony/serializer/Normalizer/GetSetMethodNormalizer.php
Extracts attributes to normalize from the class of the given object, format and context.
ObjectNormalizer::extractAttributes in vendor/symfony/serializer/Normalizer/ObjectNormalizer.php
Extracts attributes to normalize from the class of the given object, format and context.
PropertyNormalizer::extractAttributes in vendor/symfony/serializer/Normalizer/PropertyNormalizer.php
Extracts attributes to normalize from the class of the given object, format and context.

File

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

Class

AbstractObjectNormalizer
Base class for a normalizer dealing with objects.

Namespace

Symfony\Component\Serializer\Normalizer

Code

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

API Navigation

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