1<?php 2 3declare(strict_types=1); 4 5namespace JMS\Serializer\Tests\Fixtures; 6 7use JMS\Serializer\Annotation as Serializer; 8 9class FirstClassListCollection 10{ 11 /** 12 * @Serializer\Type("array<int>") 13 * @Serializer\Inline 14 * 15 * @var int[] 16 */ 17 public $items = []; 18 19 public function __construct(array $items) 20 { 21 $this->items = $items; 22 } 23} 24