How should I name a Doctrine 2 Model table row variable (e.g. url-name
is the table row name) and I tried it with that:
/** @Column(name="url-name", type="string") */
private $urlName;
// or I tried also
/** @Column(name="`url-name`", type="string") */
private $url_name;
But it doesn't fetch the $urlName row (this row result is empty but other rows/the rest is fetched correct).