How to get the names of all columns in a doctrine entity?
As described in the documentation for ClassMetadataInfo you can use the getColumnNames method:
getColumnNames
$em->getClassMetadata('EntitiesMyEntity')->getColumnNames();
1.4m articles
1.4m replys
5 comments
57.0k users