You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
works great, it seems like https://github.com/spatie/php-structure-discoverer would be a more generalized solution that would also be useful in the event that e.g. I wanted to have an auto-discovery mechanism of my own.
Of course, I can just pull the Spatie package into my project and use it as normal, but it does seem strange to have two different things in my application that discover classes that implement some particular interface.
Does it make sense to replace this function in Filament itself? Happy to do that work if you'd be open to it.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
While
filament/packages/panels/src/Panel/Concerns/HasComponents.php
Line 408 in 2bbfeeb
Of course, I can just pull the Spatie package into my project and use it as normal, but it does seem strange to have two different things in my application that discover classes that implement some particular interface.
Does it make sense to replace this function in Filament itself? Happy to do that work if you'd be open to it.
Beta Was this translation helpful? Give feedback.
All reactions