dimanche 30 octobre 2016

PHP. Can i make Reflection use autoload?

Now I need to instantiate a lot of classes with Reflection. There are different namespaces with a special classes with same names but different parameters. Each namespace contain Super class which run other special classes with the same way - reflection. I can add param to the super class what namespace I should use, but it would be more comfortable if I include in use section of my file all classes I want use in Reflection.

Any ideas?





Aucun commentaire:

Enregistrer un commentaire