1<?php
2
3declare(strict_types=1);
4
5namespace JMS\Serializer\Tests\Fixtures;
6
7use JMS\Serializer\Annotation\SerializedName;
8use JMS\Serializer\Annotation\Type;
9
10class SimpleObject
11{
12    /** @Type("string") */
13    private $foo;
14
15    /**
16     * @SerializedName("moo")
17     * @Type("string")
18     */
19    private $bar;
20
21    /** @Type("string") */
22    protected $camelCase = 'boo';
23
24    public function __construct($foo, $bar)
25    {
26        $this->foo = $foo;
27        $this->bar = $bar;
28    }
29
30    public function getFoo()
31    {
32        return $this->foo;
33    }
34
35    public function getBar()
36    {
37        return $this->bar;
38    }
39}
40