I\'m trying to setup symfony with doctrine, configuring doctrine is new for me.
I try to retrieve a entity from the database by using the following code in my controller
Try this:
/** * * @ORM\Table(name="my_table_name") * @ORM\Entity() */ class MyClass