1<?php 2 3declare(strict_types=1); 4 5namespace JMS\Serializer\Tests\Fixtures; 6 7use JMS\Serializer\Annotation as Serializer; 8use JMS\Serializer\Annotation\Type; 9 10class InlineChildWithGroups 11{ 12 /** 13 * @Serializer\Groups({"a"}) 14 * 15 * @Type("string") 16 */ 17 public $a = 'a'; 18 19 /** 20 * @Serializer\Groups({"b"}) 21 * 22 * @Type("string") 23 */ 24 public $b = 'b'; 25} 26