1<?php
2
3declare(strict_types=1);
4
5namespace JMS\Serializer\Tests\Fixtures;
6
7use JMS\Serializer\Annotation as Serializer;
8
9/** @Serializer\AccessorOrder("custom",  custom = {"method", "b", "a"}) */
10class AccessorOrderMethod
11{
12    private $b = 'b', $a = 'a';
13
14    /**
15     * @Serializer\VirtualProperty
16     * @Serializer\SerializedName("foo")
17     *
18     * @return string
19     */
20    public function getMethod()
21    {
22        return 'c';
23    }
24}
25