Release v2.10.0
sandervanhooft
released this
18 May 07:55
·
156 commits
to master
since this release
@Jubeki worked his magic here 🧙.
You can now call endpoints using attributes instead of methods.
This may seem like a small change. But it makes the call signatures consistent with the core Mollie php package. It allows you to copy-paste code samples from the official Mollie documentation.
// This still works
mollie()->payments()->create([/*...*/]);
// You can now also do this
mollie()->payments->create([/*...*/]);