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