DirectoryTree / LdapRecord-Laravel

Multi-domain LDAP Authentication & Management for Laravel.
https://ldaprecord.com/docs/laravel/v3
MIT License
492 stars 51 forks source link

Allow invokable classes and closures to be used in attribute handlers #544

Closed grantholle closed 1 year ago

grantholle commented 1 year ago

This is just a quality-of-life improvement for configuring attribute handlers. This PR allows you to define invokable classes and inline closures as attribute handlers.

If this gets merged I will also update the docs. Thanks! 💯

stevebauman commented 1 year ago

Hey @grantholle, tests failing here 👍

grantholle commented 1 year ago

Should be sorted now, thanks!

stevebauman commented 1 year ago

Thank you @grantholle! 🙏 I really appreciate your contribution.

I just made some small refactors, but we're good to go! 👍