samedi 28 mars 2020

How to get full qualified class name from class name?

I need get FQCN and I have only the class name.

Example, the namespace is Project/Domain/Entity/UserEntity And having the string 'UserEntity' I need get: 'Project/Domain/Entity' it's possible?

thanks for advance.





Aucun commentaire:

Enregistrer un commentaire