0

I'm actually working on a Class Table Inheritance. I would like to have, in my parent entity, which is abstract, a getter to access my Discriminator Column value. I mean getting the value in database and not just a guess of the value.

Is it possible ?

Thanks in advance

dezvhog
  • 3
  • 3
  • 2
    Possible duplicate of [Can I access discriminator field from php in doctrine2?](https://stackoverflow.com/questions/4450381/can-i-access-discriminator-field-from-php-in-doctrine2) – Jakub Matczak May 29 '17 at 12:35
  • Hello, I saw this subject but I think it's not really duplicate. What I would like is access the real value in the database. – dezvhog May 29 '17 at 12:44
  • There's a strict answer posted by beberlei: **No that is not possible**. So take a look at workarounds proposed there and try something that will work for you. – Jakub Matczak May 29 '17 at 12:45
  • Oh... Didn't saw it... Sorry ! – dezvhog May 29 '17 at 12:47

0 Answers0