Releases: xp-framework/reflection
Releases · xp-framework/reflection
1.7.0: Intersection types
- Added support for PHP 8.1 intersection types, implementing #12. See
https://wiki.php.net/rfc/pure-intersection-types
(@thekid) 
1.6.0: Native reflection
- Fixed 
Method::invoke(),Property::get()andProperty::set()not
raising exceptions in PHP 8.1, an incompatibility created by the RFC
https://wiki.php.net/rfc/make-reflection-setaccessible-no-op
(@thekid) - Fixed warnings in PHP 8.1 about 
getIterator()compatibility, see
https://wiki.php.net/rfc/internal_method_return_types
(@thekid) - Added support for reflection on native types, e.g. the 
Countable
interface or theDOMDocumentclass
(@thekid) 
1.5.0: Never return type
1.4.0: PHP 8.1 enum support
1.3.0: PHP 8.1 forward compatibilty
- Added support for reflective access to non-constant expressions for
parameter defaults, see xp-framework/compiler#104
(@thekid) 
1.2.0: Parameters
- Merged PR #8 and PR #9, adding 
Parameters::accept()to check whether
given arguments would be accepted
(@thekid) - Added support for 
@varfor properties (and kept@typefor BC),
see https://docs.phpdoc.org/3.0/guide/references/phpdoc/tags/var.html
(@thekid) - Merged PR #7: Add Parameters::at() and Parameters::named() - @thekid
 
1.1.0: Instantiation
1.0.1: Class loading fix
1.0.0: Package / namespace reflection
0.9.0: Documentation comments
- Wrapped exceptions from 
closure()inlang.IllegalArgumentException
(@thekid) - Fixed method string representation when using PHP 8 native union types
(@thekid) - Included type in 
lang.reflection.Property's string representation
(@thekid) - Added support for showing type documentation and members' purpose (its
documentation's first sentence) by passing the-d/--docflag to
thexp reflectsubcommand.
(@thekid) - Added 
comment()accessor toTypeandMemberclasses, returning
their respective api doc commments without/and*s, if any.
(@thekid) - Added support for including private and protected members by passing
the-a/--allflag to thexp reflectsubcommand.
(@thekid)