Is it possible to reflect into a class without knowing the fully qualified class name?
e.g. instead of this...
(new ReflectionClass(\App\Modules\Companies\Models\Company::class));
...something like this?
(new ReflectionClass('Company'));
Aucun commentaire:
Enregistrer un commentaire