forked from doctrine/orm
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathManyToMany.php
More file actions
51 lines (42 loc) · 719 Bytes
/
ManyToMany.php
File metadata and controls
51 lines (42 loc) · 719 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?php
declare(strict_types=1);
namespace Doctrine\ORM\Annotation;
/**
* @Annotation
* @Target("PROPERTY")
*/
final class ManyToMany implements Annotation
{
/**
* @var string
*/
public $targetEntity;
/**
* @var string
*/
public $mappedBy;
/**
* @var string
*/
public $inversedBy;
/**
* @var array<string>
*/
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;
}