[Answered] Model extends a abstract model, does not get parsed

0 votes
asked Mar 2, 2016 in Solved by lsv (120 points)
recategorized May 28, 2016 by ludek.vodicka

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"

commented Mar 2, 2016 by ludek.vodicka Skipper developer (140,450 points)

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.

...