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 SimpleObjectWithStaticProp 11{ 12 /** @Type("string") */ 13 private static $foo; 14 15 /** 16 * @SerializedName("moo") 17 * @Type("string") 18 */ 19 private static $bar; 20 21 /** @Type("string") */ 22 protected static $camelCase = 'boo'; 23 24 public function __construct($foo, $bar) 25 { 26 self::$foo = $foo; 27 self::$bar = $bar; 28 } 29} 30