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