ReflectionEntitySerializer
class ReflectionEntitySerializer implements EntitySerializerInterface (View source)
Facade for reflection entity serialization.
Delegates to per-type serializers that only include data available via PHP Reflection API (no PhpDoc, no sinceVersion/removedVersion, no LanguageLevelTypeAware).
Methods
__construct()
No description
array
serialize(mixed $entity)
Serialize an entity to array format suitable for JSON encoding.
mixed
deserialize(array $data)
Deserialize an entity from array format.
Details
__construct()
No description
array
serialize(mixed $entity)
Serialize an entity to array format suitable for JSON encoding.
mixed
deserialize(array $data)
Deserialize an entity from array format.