Security update for Core, with self-updated composer
[yaffs-website] / vendor / symfony / serializer / Tests / Fixtures / GroupDummy.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 GroupDummy extends GroupDummyParent implements GroupDummyInterface
20 {
21     /**
22      * @Groups({"a"})
23      */
24     private $foo;
25     /**
26      * @Groups({"b", "c", "name_converter"})
27      */
28     protected $bar;
29     private $fooBar;
30     private $symfony;
31
32     /**
33      * @Groups({"b"})
34      */
35     public function setBar($bar)
36     {
37         $this->bar = $bar;
38     }
39
40     /**
41      * @Groups({"c"})
42      */
43     public function getBar()
44     {
45         return $this->bar;
46     }
47
48     public function setFoo($foo)
49     {
50         $this->foo = $foo;
51     }
52
53     public function getFoo()
54     {
55         return $this->foo;
56     }
57
58     public function setFooBar($fooBar)
59     {
60         $this->fooBar = $fooBar;
61     }
62
63     /**
64      * @Groups({"a", "b", "name_converter"})
65      */
66     public function isFooBar()
67     {
68         return $this->fooBar;
69     }
70
71     public function setSymfony($symfony)
72     {
73         $this->symfony = $symfony;
74     }
75
76     public function getSymfony()
77     {
78         return $this->symfony;
79     }
80 }