tighten / parental

Use single table inheritance in your Laravel app
MIT License
1.36k stars 98 forks source link

Implicit class #66

Closed biscofil closed 3 years ago

biscofil commented 5 years ago

Implicit type calculated from parameters without checking static type columm

calebporzio commented 4 years ago

Hi @biscofil, thanks for the contribution.

Would you mind explaining what this does more clearly for me? Then we can talk about whether it's a good addition to the package or not.

Thanks again!

biscofil commented 4 years ago

Hi @calebporzio , this changes allow the package to pick the subclass depending on the result of the function getChildClass instead of checking a single column value. This function allows to perform multiple operations such as checking multiple columns or any other custom php script