Skip to content

Commit 6791784

Browse files
authored
Merge pull request #105: add MetaStorm metadata
2 parents 3f6dec2 + 0f005e3 commit 6791784

11 files changed

+562
-4
lines changed

.idea/icon.svg

Lines changed: 15 additions & 0 deletions
Loading

psalm.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
66
errorBaseline="psalm-baseline.xml"
77
errorLevel="1"
8+
findUnusedBaselineEntry="true"
89
>
910
<projectFiles>
1011
<directory name="src" />

resources/annotated.meta-storm.xml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<?xml version="1.0" encoding="UTF-8" ?>
2+
<meta-storm xmlns="meta-storm">
3+
<definitions>
4+
<collection
5+
className="\Cycle\Annotated\Annotation\Embeddable"
6+
methodName="__construct"
7+
argumentIndex="0"
8+
collectionName="entity-class"
9+
/>
10+
<collection
11+
className="\Cycle\Annotated\Annotation\Embeddable"
12+
methodName="__construct"
13+
argumentIndex="0"
14+
collectionName="entity-role"
15+
/>
16+
17+
<collection
18+
className="\Cycle\Annotated\Annotation\ForeignKey"
19+
methodName="__construct"
20+
argumentIndex="0"
21+
collectionName="entity-class"
22+
/>
23+
<collection
24+
className="\Cycle\Annotated\Annotation\ForeignKey"
25+
methodName="__construct"
26+
argumentIndex="0"
27+
collectionName="entity-role"
28+
/>
29+
</definitions>
30+
</meta-storm>
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?xml version="1.0" encoding="UTF-8" ?>
2+
<meta-storm xmlns="meta-storm">
3+
<collections>
4+
<attributeArgument
5+
name="entity-role"
6+
className="\Cycle\Annotated\Annotation\Entity"
7+
argumentIndex="0"
8+
/>
9+
<attributeClass
10+
name="entity-class"
11+
className="\Cycle\Annotated\Annotation\Entity"
12+
/>
13+
<attributeClass
14+
name="entity-embeddable-class"
15+
className="\Cycle\Annotated\Annotation\Embeddable"
16+
/>
17+
<attributeClass
18+
name="cycle-mapper"
19+
className="\Cycle\Annotated\Annotation\Embeddable"
20+
/>
21+
</collections>
22+
</meta-storm>
Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
<?xml version="1.0" encoding="UTF-8" ?>
2+
<meta-storm xmlns="meta-storm">
3+
<definitions>
4+
<collection
5+
className="\Cycle\ORM\FactoryInterface"
6+
methodName="mapper"
7+
argumentIndex="1"
8+
collectionName="entity-class"
9+
/>
10+
<collection
11+
className="\Cycle\ORM\FactoryInterface"
12+
methodName="mapper"
13+
argumentIndex="1"
14+
collectionName="entity-role"
15+
/>
16+
17+
<collection
18+
className="\Cycle\ORM\FactoryInterface"
19+
methodName="loader"
20+
argumentIndex="2"
21+
collectionName="entity-class"
22+
/>
23+
<collection
24+
className="\Cycle\ORM\FactoryInterface"
25+
methodName="loader"
26+
argumentIndex="2"
27+
collectionName="entity-role"
28+
/>
29+
30+
<collection
31+
className="\Cycle\ORM\FactoryInterface"
32+
methodName="repository"
33+
argumentIndex="2"
34+
collectionName="entity-class"
35+
/>
36+
<collection
37+
className="\Cycle\ORM\FactoryInterface"
38+
methodName="repository"
39+
argumentIndex="2"
40+
collectionName="entity-role"
41+
/>
42+
43+
<collection
44+
className="\Cycle\ORM\FactoryInterface"
45+
methodName="typecast"
46+
argumentIndex="2"
47+
collectionName="entity-class"
48+
/>
49+
<collection
50+
className="\Cycle\ORM\FactoryInterface"
51+
methodName="typecast"
52+
argumentIndex="2"
53+
collectionName="entity-role"
54+
/>
55+
56+
<collection
57+
className="\Cycle\ORM\FactoryInterface"
58+
methodName="source"
59+
argumentIndex="1"
60+
collectionName="entity-class"
61+
/>
62+
<collection
63+
className="\Cycle\ORM\FactoryInterface"
64+
methodName="source"
65+
argumentIndex="1"
66+
collectionName="entity-role"
67+
/>
68+
69+
<collection
70+
className="\Cycle\ORM\FactoryInterface"
71+
methodName="relation"
72+
argumentIndex="2"
73+
collectionName="entity-class"
74+
/>
75+
<collection
76+
className="\Cycle\ORM\FactoryInterface"
77+
methodName="relation"
78+
argumentIndex="2"
79+
collectionName="entity-role"
80+
/>
81+
</definitions>
82+
</meta-storm>
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<?xml version="1.0" encoding="UTF-8" ?>
2+
<meta-storm xmlns="meta-storm">
3+
<definitions>
4+
<collection
5+
className="\Cycle\ORM\Iterator"
6+
methodName="createWithOrm"
7+
argumentIndex="1"
8+
collectionName="entity-class"
9+
/>
10+
<collection
11+
className="\Cycle\ORM\Iterator"
12+
methodName="createWithOrm"
13+
argumentIndex="1"
14+
collectionName="entity-role"
15+
/>
16+
17+
<collection
18+
className="\Cycle\ORM\Iterator"
19+
methodName="createWithServices"
20+
argumentIndex="3"
21+
collectionName="entity-class"
22+
/>
23+
<collection
24+
className="\Cycle\ORM\Iterator"
25+
methodName="createWithServices"
26+
argumentIndex="3"
27+
collectionName="entity-role"
28+
/>
29+
</definitions>
30+
</meta-storm>
Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
<?xml version="1.0" encoding="UTF-8" ?>
2+
<meta-storm xmlns="meta-storm">
3+
<definitions>
4+
<collection
5+
className="\Cycle\ORM\SchemaInterface"
6+
methodName="getRelations"
7+
argumentIndex="0"
8+
collectionName="entity-class"
9+
/>
10+
<collection
11+
className="\Cycle\ORM\SchemaInterface"
12+
methodName="getRelations"
13+
argumentIndex="0"
14+
collectionName="entity-role"
15+
/>
16+
17+
<collection
18+
className="\Cycle\ORM\SchemaInterface"
19+
methodName="defines"
20+
argumentIndex="0"
21+
collectionName="entity-class"
22+
/>
23+
<collection
24+
className="\Cycle\ORM\SchemaInterface"
25+
methodName="defines"
26+
argumentIndex="0"
27+
collectionName="entity-role"
28+
/>
29+
30+
<collection
31+
className="\Cycle\ORM\SchemaInterface"
32+
methodName="define"
33+
argumentIndex="0"
34+
collectionName="entity-class"
35+
/>
36+
<collection
37+
className="\Cycle\ORM\SchemaInterface"
38+
methodName="define"
39+
argumentIndex="0"
40+
collectionName="entity-role"
41+
/>
42+
43+
<collection
44+
className="\Cycle\ORM\SchemaInterface"
45+
methodName="defineRelation"
46+
argumentIndex="0"
47+
collectionName="entity-class"
48+
/>
49+
<collection
50+
className="\Cycle\ORM\SchemaInterface"
51+
methodName="defineRelation"
52+
argumentIndex="0"
53+
collectionName="entity-role"
54+
/>
55+
56+
<collection
57+
className="\Cycle\ORM\SchemaInterface"
58+
methodName="resolveAlias"
59+
argumentIndex="0"
60+
collectionName="entity-class"
61+
/>
62+
<collection
63+
className="\Cycle\ORM\SchemaInterface"
64+
methodName="resolveAlias"
65+
argumentIndex="0"
66+
collectionName="entity-role"
67+
/>
68+
69+
<collection
70+
className="\Cycle\ORM\SchemaInterface"
71+
methodName="getInheritedRoles"
72+
argumentIndex="0"
73+
collectionName="entity-class"
74+
/>
75+
<collection
76+
className="\Cycle\ORM\SchemaInterface"
77+
methodName="getInheritedRoles"
78+
argumentIndex="0"
79+
collectionName="entity-role"
80+
/>
81+
</definitions>
82+
</meta-storm>
Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
<?xml version="1.0" encoding="UTF-8" ?>
2+
<meta-storm xmlns="meta-storm">
3+
<definitions>
4+
<collection
5+
className="\Cycle\ORM\Service\SourceProviderInterface"
6+
methodName="getSource"
7+
argumentIndex="0"
8+
collectionName="entity-class"
9+
/>
10+
<collection
11+
className="\Cycle\ORM\Service\SourceProviderInterface"
12+
methodName="getSource"
13+
argumentIndex="0"
14+
collectionName="entity-role"
15+
/>
16+
17+
<collection
18+
className="\Cycle\ORM\Service\EntityProviderInterface"
19+
methodName="get"
20+
argumentIndex="0"
21+
collectionName="entity-class"
22+
/>
23+
<collection
24+
className="\Cycle\ORM\Service\EntityProviderInterface"
25+
methodName="get"
26+
argumentIndex="0"
27+
collectionName="entity-role"
28+
/>
29+
30+
<collection
31+
className="\Cycle\ORM\Service\EntityFactoryInterface"
32+
methodName="make"
33+
argumentIndex="0"
34+
collectionName="entity-class"
35+
/>
36+
<collection
37+
className="\Cycle\ORM\Service\EntityFactoryInterface"
38+
methodName="make"
39+
argumentIndex="0"
40+
collectionName="entity-role"
41+
/>
42+
43+
<collection
44+
className="\Cycle\ORM\Service\IndexProviderInterface"
45+
methodName="getIndexes"
46+
argumentIndex="0"
47+
collectionName="entity-class"
48+
/>
49+
<collection
50+
className="\Cycle\ORM\Service\IndexProviderInterface"
51+
methodName="getIndexes"
52+
argumentIndex="0"
53+
collectionName="entity-role"
54+
/>
55+
56+
<collection
57+
className="\Cycle\ORM\ORMInterface"
58+
methodName="resolveRole"
59+
argumentIndex="0"
60+
collectionName="entity-class"
61+
/>
62+
<collection
63+
className="\Cycle\ORM\ORMInterface"
64+
methodName="resolveRole"
65+
argumentIndex="0"
66+
collectionName="entity-role"
67+
/>
68+
69+
<collection
70+
className="\Cycle\ORM\Service\RelationProviderInterface"
71+
methodName="getRelationMap"
72+
argumentIndex="0"
73+
collectionName="entity-class"
74+
/>
75+
<collection
76+
className="\Cycle\ORM\Service\RelationProviderInterface"
77+
methodName="getRelationMap"
78+
argumentIndex="0"
79+
collectionName="entity-role"
80+
/>
81+
82+
<collection
83+
className="\Cycle\ORM\Service\MapperProviderInterface"
84+
methodName="getMapper"
85+
argumentIndex="0"
86+
collectionName="entity-class"
87+
/>
88+
<collection
89+
className="\Cycle\ORM\Service\MapperProviderInterface"
90+
methodName="getMapper"
91+
argumentIndex="0"
92+
collectionName="entity-role"
93+
/>
94+
95+
<collection
96+
className="\Cycle\ORM\Service\RepositoryProviderInterface"
97+
methodName="getRepository"
98+
argumentIndex="0"
99+
collectionName="entity-class"
100+
/>
101+
<collection
102+
className="\Cycle\ORM\Service\RepositoryProviderInterface"
103+
methodName="getRepository"
104+
argumentIndex="0"
105+
collectionName="entity-role"
106+
/>
107+
108+
<collection
109+
className="\Cycle\ORM\Service\TypecastProviderInterface"
110+
methodName="getTypecast"
111+
argumentIndex="0"
112+
collectionName="entity-class"
113+
/>
114+
<collection
115+
className="\Cycle\ORM\Service\TypecastProviderInterface"
116+
methodName="getTypecast"
117+
argumentIndex="0"
118+
collectionName="entity-role"
119+
/>
120+
</definitions>
121+
</meta-storm>

0 commit comments

Comments
 (0)