Closed
Description
Jira issue originally created by user nemo64:
I have a setup similar to this one :
/****
* @ORM\Table()
* @ORM\Entity(readOnly=true)
* @ORM\InheritanceType("SINGLE_TABLE")
****/
abstract class Planet
{
/** ... **/
/****
* @var Position
* @ORM\Embedded(class="Position")
*/
private $position;
}
/****
* @ORM\Entity(readOnly=true)
****/
class Sun extends Planet
{
}
This causes the following error:
[ReflectionException]
Property Sun::$position does not exist
This can easily be fixed by making the embeddable protected, but if I didn't miss anything, a private embed should work too.