Array.php
1 year ago
Broken.php
1 year ago
ClassWithCtor.php
1 year ago
ComplexClassWithCtor.php
1 year ago
DependencyInjector.php
1 year ago
DerivedClass.php
1 year ago
DerivedClass2.php
1 year ago
FactoryMethod.php
1 year ago
FactoryMethodWithError.php
1 year ago
JsonMapperCommentsDiscardedException.php
1 year ago
JsonMapperForCheckingAllowedPaths.php
1 year ago
Logger.php
1 year ago
MapsWithSetters.php
1 year ago
Php7TypedClass.php
1 year ago
Php7_1TypedClass.php
1 year ago
PrivateWithSetter.php
1 year ago
Simple.php
1 year ago
SimpleBase.php
1 year ago
SimpleBaseWithMissingDiscrimType.php
1 year ago
ValueObject.php
1 year ago
SimpleBase.php
27 lines
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * @discriminator type |
| 5 | * @discriminatorType base |
| 6 | */ |
| 7 | class JsonMapperTest_SimpleBase |
| 8 | { |
| 9 | public $afield; |
| 10 | |
| 11 | public $bfield; |
| 12 | |
| 13 | public $type; |
| 14 | |
| 15 | /** |
| 16 | * Embedded |
| 17 | * @var JsonMapperTest_SimpleBase |
| 18 | */ |
| 19 | public $embedded; |
| 20 | |
| 21 | /** |
| 22 | * Embedded array |
| 23 | * @var JsonMapperTest_SimpleBase[] |
| 24 | */ |
| 25 | public $embeddedArray; |
| 26 | } |
| 27 |