X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fsymfony%2Fserializer%2FTests%2FFixtures%2FSiblingHolder.php;fp=vendor%2Fsymfony%2Fserializer%2FTests%2FFixtures%2FSiblingHolder.php;h=acd4fe9474f71c431e87eeeb0cd1da1336b77378;hp=0000000000000000000000000000000000000000;hb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;hpb=57c063afa3f66b07c4bbddc2d6129a96d90f0aad diff --git a/vendor/symfony/serializer/Tests/Fixtures/SiblingHolder.php b/vendor/symfony/serializer/Tests/Fixtures/SiblingHolder.php new file mode 100644 index 000000000..acd4fe947 --- /dev/null +++ b/vendor/symfony/serializer/Tests/Fixtures/SiblingHolder.php @@ -0,0 +1,57 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Symfony\Component\Serializer\Tests\Fixtures; + +/** + * @author Kévin Dunglas + */ +class SiblingHolder +{ + private $sibling0; + private $sibling1; + private $sibling2; + + public function __construct() + { + $sibling = new Sibling(); + + $this->sibling0 = $sibling; + $this->sibling1 = $sibling; + $this->sibling2 = $sibling; + } + + public function getSibling0() + { + return $this->sibling0; + } + + public function getSibling1() + { + return $this->sibling1; + } + + public function getSibling2() + { + return $this->sibling2; + } +} + +/** + * @author Kévin Dunglas + */ +class Sibling +{ + public function getCoopTilleuls() + { + return 'Les-Tilleuls.coop'; + } +}