Version 3.4.0
What's Changed
- fix testStaticFunctionMapping to actually map a static method by @lubiana in #535
- Fixed phpstan suggestion by @fadrian06 in #536
- Beautified README by @fadrian06 in #537
- Dispatcher improvements. by @fadrian06 in #538
- This could potential introduce a breaking change, but it has been tested with many known use cases. There are 2 notices that will be thrown now if you try to override an event you've already created, or if you attempt to use a hook that's not known (before/after).
- You are now not required to create a Controller object before you run the route. You can now do
Flight::route('/someUrl', [ Controller::class, 'someMethod' ]);
New Contributors
Full Changelog: v3.3.0...v3.4.0