<?php /* * This file is part of the FOSRestBundle package. * * (c) FriendsOfSymfony <http://friendsofsymfony.github.com/> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace FOS\RestBundle\Serializer; use FOS\RestBundle\Context\Context; /** * @author Christian Flothmann <christian.flothmann@xabbuh.de> */ interface Serializer { /** * @param mixed $data * @param string $format * * @return string */ public function serialize($data, $format, Context $context); /** * @param string $data * @param string $type * @param string $format * * @return mixed */ public function deserialize($data, $type, $format, Context $context); }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
Normalizer | Folder | 0755 |
|
|
JMSHandlerRegistry.php | File | 1.52 KB | 0644 |
|
JMSHandlerRegistryV2.php | File | 1.56 KB | 0644 |
|
JMSSerializerAdapter.php | File | 3.63 KB | 0644 |
|
Serializer.php | File | 800 B | 0644 |
|
SymfonySerializerAdapter.php | File | 1.86 KB | 0644 |
|