Releases: liip/metadata-parser
Releases · liip/metadata-parser
1.2.0
- DateTimeOptions now features a list of deserialization formats instead of a single string one. Passing a string instead of an array to its
__construct
or is deprecated, and will be forbidden in the next version
Similarly,getDeserializeFormat(): ?string
is deprecated in favor ofgetDeserializeFormats(): ?array
- Added
PropertyTypeIterable
, which generalizesPropertyTypeArray
to allow merging Collection informations like one would with arrays, including between interfaces and concrete classes - Deprecated
PropertyTypeArray
, please prefer usingPropertyTypeIterable
instead PropertyTypeArray::isCollection()
andPropertyTypeArray::getCollectionClass()
are deprecated, including in its child classes, in favor ofisTraversable()
andgetTraversableClass()
- Added a model parser
VisibilityAwarePropertyAccessGuesser
that tries to guess getter and setter methods for non-public properties.
1.1.0
1.0.0
0.6.1
0.6.0
0.5.0
0.4.1
0.4.0
- Handle property type declarations in reflection parser.
- [Bugfix] Upgrade array type with
@var Type[]
annotation - [Bugfix] When extending class redefines a property, use phpdoc from extending class rather than base class
- [Bugfix] Use correct context for relative class names in inherited properties/methods