Skip to content

Releases: xp-framework/reflection

1.7.0: Intersection types

05 Aug 09:51

Choose a tag to compare

1.6.0: Native reflection

03 Aug 18:12

Choose a tag to compare

1.5.0: Never return type

25 Apr 10:39

Choose a tag to compare

  • Merged PR #11: Add support for never return type - @thekid

1.4.0: PHP 8.1 enum support

13 Mar 15:39

Choose a tag to compare

  • Merged PR #10: Support PHP 8.1 native enums - @thekid

1.3.0: PHP 8.1 forward compatibilty

06 Mar 17:20

Choose a tag to compare

1.2.0: Parameters

07 Feb 11:33

Choose a tag to compare

1.1.0: Instantiation

03 Jan 13:26

Choose a tag to compare

  • Merged PR #6: Implement Type::initializer() for custom instantiation,
    implementing usecases suggested in #5
    (@thekid)

1.0.1: Class loading fix

25 Dec 12:40

Choose a tag to compare

  • Fixed issue #4: Class loader is null when using backslashes - @thekid

1.0.0: Package / namespace reflection

20 Dec 23:21

Choose a tag to compare

  • Merged PR #3: Add reflection on packages (a.k.a. namespaces) - @thekid
  • Added native modifier to internal classes - @thekid

0.9.0: Documentation comments

20 Dec 16:35

Choose a tag to compare

  • Wrapped exceptions from closure() in lang.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 / --doc flag to
    the xp reflect subcommand.
    (@thekid)
  • Added comment() accessor to Type and Member classes, returning
    their respective api doc commments without / and *s, if any.
    (@thekid)
  • Added support for including private and protected members by passing
    the -a / --all flag to the xp reflect subcommand.
    (@thekid)