Skip to content

Releases: ekvedaras/class-factory

v1.2.0

15 Feb 17:33
e874add
Compare
Choose a tag to compare

Added

  • Ability to customize how the class is created via newInstance. @erikgaal

v1.1.5

16 Jan 08:45
4a4d56f
Compare
Choose a tag to compare
  • Add phpstan with level 9
  • Start testing with php 8.2

v1.1.4

12 Jan 11:27
485cbd3
Compare
Choose a tag to compare

Make phpstan happier 鉂わ笍

v1.1.3

02 Nov 06:52
cd83e0b
Compare
Choose a tag to compare

Fixed

  • Revert to old behaviour of resolving closure states as it breaks more things than it solves.

v1.1.2

01 Nov 13:41
4e69bcb
Compare
Choose a tag to compare

Fixed

  • Handling of non-existing properties while collapsing states

v1.1.1

01 Nov 13:24
86eeeb3
Compare
Choose a tag to compare

Fixed

  • Unwrap closure states after collapsing properties without property closure states and before collapsing property closure states.

v1.1.0

01 Nov 12:25
7122b1f
Compare
Choose a tag to compare

Added

  • ClosureValue to wrap closures that should be passed to class constructor as plain closures will be evaluated before doing so.

Fixed

  • Make sure property closure states get the most up-to-date attributes.

v1.0.2

30 Sep 20:19
e132c79
Compare
Choose a tag to compare

Fixed

  • Do not cal invokable classes when collapsing states. Check for closures instead of callables.

v1.0.1

03 Sep 07:18
1400eb6
Compare
Choose a tag to compare

Fixed

  • Make sure closures in definition get filled attributes array.

Updated

  • Improve clarity in collapseStates() method.

v1.0.0

30 Aug 19:12
3353707
Compare
Choose a tag to compare

馃彮