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