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

Breadcrumb

  1. Drupal Core 11.1.x

ObjectAwareSerializationInterface.php

Namespace

Drupal\Component\Serialization

File

core/lib/Drupal/Component/Serialization/ObjectAwareSerializationInterface.php

View source
<?php

namespace Drupal\Component\Serialization;

// cspell:ignore serializers igbinary

/**
 * Ensures that a serializer is usable for serializing PHP objects.
 *
 * Other Serializers that implement the SerializationInterface, for example
 * serializers that use JSON or YAML, are suitable for different PHP types
 * except objects. Serializers that implement the
 * ObjectAwareSerializationInterface instead are clearly indicating that they're
 * suitable for PHP objects, for example using the PHP string serialization
 * format or the igbinary format.
 */
interface ObjectAwareSerializationInterface extends SerializationInterface {

}

Interfaces

Title Deprecated Summary
ObjectAwareSerializationInterface Ensures that a serializer is usable for serializing PHP objects.

API Navigation

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