symfony - Get ORM Column name in a controller -


 /**      * @var integer      *      * @orm\column(name="anio_detalle", type="integer")      */     private $detalle; 

is there way column name "anio_detalle" controller.

i know can table name using

$em->getclassmetadata('storebundle:user')->gettablename(); 

but there way column name?

$em->getclassmetadata('acme\myentity')->getfieldname('detalle'); 

Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -