How can I resolve the name of the logical unit in full class names in Symfony2? You can obtain a classmateet from EntityManager that will resolve the namespace in the name of the fully qualified class . MyAcmeBundle: User to
My \ AcmeBundle \ Entity \ user .
& lt ;? Php echo $ manager- & gt; GetClassMetadata ('MyAcmeBundle: User') - & gt; GetName ();
Comments
Post a Comment