. */ namespace Doctrine\ORM\Mapping; /** * @Annotation * @Target("PROPERTY") */ final class OneToMany implements Annotation { /** @var string */ public $mappedBy; /** @var string */ public $targetEntity; /** @var array */ public $cascade; /** * The fetching strategy to use for the association. * * @var string * @Enum({"LAZY", "EAGER", "EXTRA_LAZY"}) */ public $fetch = 'LAZY'; /** @var bool */ public $orphanRemoval = false; /** @var string */ public $indexBy; }