equal
deleted
inserted
replaced
|
1 <?php |
|
2 |
|
3 namespace Symfony\Component\Serializer; |
|
4 |
|
5 use Symfony\Component\Serializer\SerializerInterface; |
|
6 |
|
7 /* |
|
8 * This file is part of the Symfony framework. |
|
9 * |
|
10 * (c) Fabien Potencier <fabien@symfony.com> |
|
11 * |
|
12 * This source file is subject to the MIT license that is bundled |
|
13 * with this source code in the file LICENSE. |
|
14 */ |
|
15 |
|
16 /** |
|
17 * Defines the interface of encoders |
|
18 * |
|
19 * @author Jordi Boggiano <j.boggiano@seld.be> |
|
20 */ |
|
21 interface SerializerAwareInterface |
|
22 { |
|
23 /** |
|
24 * Sets the owning Serializer object |
|
25 * |
|
26 * @param SerializerInterface $serializer |
|
27 */ |
|
28 function setSerializer(SerializerInterface $serializer); |
|
29 } |