0 votes

So my entity looks like this

abstract class AbstractBar
{

    /**
     * @var bool
     * @ORM\Column(name="verified", type="boolean")
     */
    protected $verified = false;

}


class Foo extends AbstractBar
{

   /**
     * @var int
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    private $id;

    /**
     * @var string
     * @ORM\Column(name="name", type="string", nullable=true)
     */
    private $name;

}

Now the field "verified" from the abstract class does not gets into the model viewer, the model viewer only shows the "id" and "name"

in Solved by (120 points)
recategorized by

Hi, it's because there are no @Entity and @Inheritance settings. Skipper can import only settings defined through @ORM annotations

Please log in or register to answer this question.