Why direct access of data fetched from db using doctrine does not work while using getter do work?
In PHP Symfony project with doctrine, I am using following class with self-referencing attribute “credit” and another attribute referencing class foo as follow.
Why direct access of data fetched from db using doctrine does not work while using getter do work?
In PHP Symfony project with doctrine, I am using following class with self-referencing attribute “credit” and another attribute referencing class foo, which