Skip to content

Commit

Permalink
Merge pull request #106: update meta-storm syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
roxblnfk authored Jan 8, 2025
2 parents 6791784 + db590fe commit 250c5b5
Show file tree
Hide file tree
Showing 9 changed files with 63 additions and 516 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
],
"require": {
"php": ">=8.1",
"cycle/orm": "^2.9.1",
"cycle/orm": "^2.9.2",
"cycle/schema-builder": "^2.11.1",
"spiral/attributes": "^2.8|^3.0",
"spiral/tokenizer": "^2.8|^3.0",
Expand Down
32 changes: 8 additions & 24 deletions resources/annotated.meta-storm.xml
Original file line number Diff line number Diff line change
@@ -1,30 +1,14 @@
<?xml version="1.0" encoding="UTF-8" ?>
<meta-storm xmlns="meta-storm">
<definitions>
<collection
className="\Cycle\Annotated\Annotation\Embeddable"
methodName="__construct"
argumentIndex="0"
collectionName="entity-class"
/>
<collection
className="\Cycle\Annotated\Annotation\Embeddable"
methodName="__construct"
argumentIndex="0"
collectionName="entity-role"
/>
<classConstructor class="\Cycle\Annotated\Annotation\Embeddable" argument="0">
<collection name="cycle/orm:entity-class" argument="0" />
<collection name="cycle/orm:entity-role" argument="0" />
</classConstructor>

<collection
className="\Cycle\Annotated\Annotation\ForeignKey"
methodName="__construct"
argumentIndex="0"
collectionName="entity-class"
/>
<collection
className="\Cycle\Annotated\Annotation\ForeignKey"
methodName="__construct"
argumentIndex="0"
collectionName="entity-role"
/>
<classConstructor class="\Cycle\Annotated\Annotation\ForeignKey" argument="0">
<collection name="cycle/orm:entity-class" argument="0" />
<collection name="cycle/orm:entity-role" argument="0" />
</classConstructor>
</definitions>
</meta-storm>
18 changes: 7 additions & 11 deletions resources/collections.meta-storm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,17 @@
<meta-storm xmlns="meta-storm">
<collections>
<attributeArgument
name="entity-role"
className="\Cycle\Annotated\Annotation\Entity"
argumentIndex="0"
name="cycle/orm:entity-role"
class="\Cycle\Annotated\Annotation\Entity"
argument="0"
/>
<attributeClass
name="entity-class"
className="\Cycle\Annotated\Annotation\Entity"
name="cycle/orm:entity-class"
class="\Cycle\Annotated\Annotation\Entity"
/>
<attributeClass
name="entity-embeddable-class"
className="\Cycle\Annotated\Annotation\Embeddable"
/>
<attributeClass
name="cycle-mapper"
className="\Cycle\Annotated\Annotation\Embeddable"
name="cycle/orm:entity-embeddable-class"
class="\Cycle\Annotated\Annotation\Embeddable"
/>
</collections>
</meta-storm>
82 changes: 0 additions & 82 deletions resources/orm-factory.meta-storm.xml

This file was deleted.

30 changes: 0 additions & 30 deletions resources/orm-iterator.meta-storm.xml

This file was deleted.

82 changes: 0 additions & 82 deletions resources/orm-schema.meta-storm.xml

This file was deleted.

121 changes: 0 additions & 121 deletions resources/orm-services.meta-storm.xml

This file was deleted.

Loading

0 comments on commit 250c5b5

Please sign in to comment.