dd24233993b9b7c0101cda591278baa80c92174b
[yaffs-website] / vendor / symfony / serializer / Tests / Fixtures / GroupDummyParent.php
1 <?php
2
3 /*
4  * This file is part of the Symfony package.
5  *
6  * (c) Fabien Potencier <fabien@symfony.com>
7  *
8  * For the full copyright and license information, please view the LICENSE
9  * file that was distributed with this source code.
10  */
11
12 namespace Symfony\Component\Serializer\Tests\Fixtures;
13
14 use Symfony\Component\Serializer\Annotation\Groups;
15
16 /**
17  * @author Kévin Dunglas <dunglas@gmail.com>
18  */
19 class GroupDummyParent
20 {
21     /**
22      * @Groups({"a"})
23      */
24     private $kevin;
25     private $coopTilleuls;
26
27     public function setKevin($kevin)
28     {
29         $this->kevin = $kevin;
30     }
31
32     public function getKevin()
33     {
34         return $this->kevin;
35     }
36
37     public function setCoopTilleuls($coopTilleuls)
38     {
39         $this->coopTilleuls = $coopTilleuls;
40     }
41
42     /**
43      * @Groups({"a", "b"})
44      */
45     public function getCoopTilleuls()
46     {
47         return $this->coopTilleuls;
48     }
49 }