. */ namespace Doctrine\ORM\Mapping; /** * @Annotation * @Target("PROPERTY") */ final class ManyToMany implements Annotation { /** @var string */ public $targetEntity; /** @var string */ public $mappedBy; /** @var string */ public $inversedBy; /** @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; }