lundi 18 février 2019

How to get all children of class php laravel

In my app there is a model called Role which extends Model, all existing roles extend that class. All of these roles have to be found via one method or function. However there's no documentation for Reflection in laravel, although it's unwanted to create another implementation of reflection in php. Is there any elegant solution for the problem?





Aucun commentaire:

Enregistrer un commentaire