You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To be able to differentiate between serializers like JSON or YAML which cannot serialize classed PHP objects, and serializers that can (eg. the PHP serializer),\Drupal\Component\Serialization\ObjectAwareSerializationInterface has been introduced. This interface can be used in type-hints or instanceof checks where object-serialization is required to make sure the right kind of serializer is passed.
https://www.drupal.org/node/3014689
Introduced in branch/version: 10.3.x / 10.3.0
To be able to differentiate between serializers like JSON or YAML which cannot serialize classed PHP objects, and serializers that can (eg. the PHP serializer),
\Drupal\Component\Serialization\ObjectAwareSerializationInterface
has been introduced. This interface can be used in type-hints orinstanceof
checks where object-serialization is required to make sure the right kind of serializer is passed.Other change notices for same issue
The text was updated successfully, but these errors were encountered: