JmsSerializerAdapter
in package
implements
SerializerInterface
Class JmsSerializerAdapter
Tags
Interfaces, Classes, Traits and Enums
- SerializerInterface
- Interface SerializerInterface
Table of Contents
- __construct() : mixed
- JmsSerializerAdapter constructor.
- serialize() : string
- Serialize item
Methods
__construct()
JmsSerializerAdapter constructor.
public
__construct(object $serializer[, string $format = 'json' ]) : mixed
Parameters
- $serializer : object
- $format : string = 'json'
Return values
mixed —serialize()
Serialize item
public
serialize(mixed $data) : string
Parameters
- $data : mixed