acd4fe9474f71c431e87eeeb0cd1da1336b77378
[yaffs-website] / vendor / symfony / serializer / Tests / Fixtures / SiblingHolder.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 /**
15  * @author Kévin Dunglas <dunglas@gmail.com>
16  */
17 class SiblingHolder
18 {
19     private $sibling0;
20     private $sibling1;
21     private $sibling2;
22
23     public function __construct()
24     {
25         $sibling = new Sibling();
26
27         $this->sibling0 = $sibling;
28         $this->sibling1 = $sibling;
29         $this->sibling2 = $sibling;
30     }
31
32     public function getSibling0()
33     {
34         return $this->sibling0;
35     }
36
37     public function getSibling1()
38     {
39         return $this->sibling1;
40     }
41
42     public function getSibling2()
43     {
44         return $this->sibling2;
45     }
46 }
47
48 /**
49  * @author Kévin Dunglas <dunglas@gmail.com>
50  */
51 class Sibling
52 {
53     public function getCoopTilleuls()
54     {
55         return 'Les-Tilleuls.coop';
56     }
57 }