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
A method like your getFeatureByCode will be helpful. I don't think that feature specific getters (like your getPicturesAttribute should be implemented to Laraplans. Plan's features vary for each application. :)
Imagine you have a list of plans and want to display the name of the plan, the price and the amount of pictures a user can upload pro plan.
The Features were created like this:
It would be nice to have a method at the plan model which returns the value of a feature found by its code. Here is my implementation and usage:
If you interested in this, I'll open a PR.
The text was updated successfully, but these errors were encountered: