SymfonySerializerAdapter
extends JmsSerializerAdapter
in package
Class SymfonySerializerAdapter
Tags
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