1234567891011121314151617181920212223242526272829303132333435363738394041 |
- <?php
- namespace JMS\Serializer\Tests\Fixtures;
- use JMS\Serializer\Annotation\Groups;
- use JMS\Serializer\Annotation\Type;
- /** blablub */
- class GroupsObject
- {
- /**
- * @Groups({"foo"})
- * @Type("string")
- */
- private $foo;
- /**
- * @Groups({"foo","bar"})
- * @Type("string")
- */
- private $foobar;
- /**
- * @Groups({"bar", "Default"})
- * @Type("string")
- */
- private $bar;
- /**
- * @Type("string")
- */
- private $none;
- public function __construct()
- {
- $this->foo = "foo";
- $this->bar = "bar";
- $this->foobar = "foobar";
- $this->none = "none";
- }
- }
|