Commit e8b6978
[Validator] Added hasser support for entity method validation
1 parent b14fa26 commit e8b6978Copy full SHA for e8b6978
File tree
Expand file treeCollapse file tree
9 files changed
+59
-3
lines changedOpen diff view settings
Filter options
- src/Symfony/Component/Validator
- Mapping
- Loader
- Tests
- Fixtures
- Mapping
- Loader
Expand file treeCollapse file tree
9 files changed
+59
-3
lines changedOpen diff view settings
Collapse file
src/Symfony/Component/Validator/Mapping/GetterMetadata.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/Validator/Mapping/GetterMetadata.php+4-1Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
27 | 27 | |
28 | 28 | |
29 | 29 | |
| 30 | + |
30 | 31 | |
31 | 32 | |
32 | 33 | |
33 | 34 | |
34 | 35 | |
| 36 | + |
| 37 | + |
35 | 38 | |
36 | | - |
| 39 | + |
37 | 40 | |
38 | 41 | |
39 | 42 | |
|
Collapse file
src/Symfony/Component/Validator/Mapping/Loader/AnnotationLoader.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/Validator/Mapping/Loader/AnnotationLoader.php+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
70 | 70 | |
71 | 71 | |
72 | 72 | |
73 | | - |
| 73 | + |
74 | 74 | |
75 | 75 | |
76 | | - |
| 76 | + |
77 | 77 | |
78 | 78 | |
79 | 79 | |
|
Collapse file
src/Symfony/Component/Validator/Tests/Fixtures/Entity.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/Validator/Tests/Fixtures/Entity.php+16Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
56 | 56 | |
57 | 57 | |
58 | 58 | |
| 59 | + |
| 60 | + |
| 61 | + |
| 62 | + |
| 63 | + |
| 64 | + |
| 65 | + |
| 66 | + |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | + |
| 72 | + |
| 73 | + |
| 74 | + |
59 | 75 | |
60 | 76 | |
61 | 77 | |
|
Collapse file
src/Symfony/Component/Validator/Tests/Mapping/GetterMetadataTest.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/Validator/Tests/Mapping/GetterMetadataTest.php+16Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
43 | 43 | |
44 | 44 | |
45 | 45 | |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | + |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | + |
| 61 | + |
46 | 62 | |
Collapse file
src/Symfony/Component/Validator/Tests/Mapping/Loader/AnnotationLoaderTest.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/Validator/Tests/Mapping/Loader/AnnotationLoaderTest.php+5Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
18 | 18 | |
19 | 19 | |
20 | 20 | |
| 21 | + |
21 | 22 | |
22 | 23 | |
23 | 24 | |
| ||
67 | 68 | |
68 | 69 | |
69 | 70 | |
| 71 | + |
| 72 | + |
70 | 73 | |
71 | 74 | |
72 | 75 | |
| ||
134 | 137 | |
135 | 138 | |
136 | 139 | |
| 140 | + |
| 141 | + |
137 | 142 | |
138 | 143 | |
139 | 144 | |
|
Collapse file
src/Symfony/Component/Validator/Tests/Mapping/Loader/XmlFileLoaderTest.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/Validator/Tests/Mapping/Loader/XmlFileLoaderTest.php+3Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
18 | 18 | |
19 | 19 | |
20 | 20 | |
| 21 | + |
21 | 22 | |
22 | 23 | |
23 | 24 | |
| ||
69 | 70 | |
70 | 71 | |
71 | 72 | |
| 73 | + |
| 74 | + |
72 | 75 | |
73 | 76 | |
74 | 77 | |
|
Collapse file
src/Symfony/Component/Validator/Tests/Mapping/Loader/YamlFileLoaderTest.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/Validator/Tests/Mapping/Loader/YamlFileLoaderTest.php+3Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
17 | 17 | |
18 | 18 | |
19 | 19 | |
| 20 | + |
20 | 21 | |
21 | 22 | |
22 | 23 | |
| ||
86 | 87 | |
87 | 88 | |
88 | 89 | |
| 90 | + |
| 91 | + |
89 | 92 | |
90 | 93 | |
91 | 94 | |
|
Collapse file
src/Symfony/Component/Validator/Tests/Mapping/Loader/constraint-mapping.xml
Copy file name to clipboardExpand all lines: src/Symfony/Component/Validator/Tests/Mapping/Loader/constraint-mapping.xml+6Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
102 | 102 | |
103 | 103 | |
104 | 104 | |
| 105 | + |
| 106 | + |
| 107 | + |
| 108 | + |
| 109 | + |
| 110 | + |
105 | 111 | |
106 | 112 | |
107 | 113 | |
|
Collapse file
src/Symfony/Component/Validator/Tests/Mapping/Loader/constraint-mapping.yml
Copy file name to clipboardExpand all lines: src/Symfony/Component/Validator/Tests/Mapping/Loader/constraint-mapping.yml+4Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
53 | 53 | |
54 | 54 | |
55 | 55 | |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | + |
56 | 60 | |
57 | 61 | |
58 | 62 | |
0 commit comments