|
5 | 5 | namespace Syndesi\CypherEntityManager\Contract; |
6 | 6 |
|
7 | 7 | use Laudis\Neo4j\Contracts\ClientInterface; |
8 | | -use Syndesi\CypherDataStructures\Contract\ConstraintInterface; |
9 | | -use Syndesi\CypherDataStructures\Contract\IndexInterface; |
| 8 | +use Syndesi\CypherDataStructures\Contract\NodeConstraintInterface; |
| 9 | +use Syndesi\CypherDataStructures\Contract\NodeIndexInterface; |
10 | 10 | use Syndesi\CypherDataStructures\Contract\NodeInterface; |
| 11 | +use Syndesi\CypherDataStructures\Contract\RelationConstraintInterface; |
| 12 | +use Syndesi\CypherDataStructures\Contract\RelationIndexInterface; |
11 | 13 | use Syndesi\CypherDataStructures\Contract\RelationInterface; |
12 | 14 | use Syndesi\CypherEntityManager\Type\ActionType; |
13 | 15 |
|
14 | 16 | interface EntityManagerInterface |
15 | 17 | { |
16 | | - public function add(ActionType $actionType, NodeInterface|RelationInterface|ConstraintInterface|IndexInterface|SimilarNodeQueueInterface|SimilarRelationQueueInterface $element): self; |
17 | | - |
18 | | - public function create(NodeInterface|RelationInterface|ConstraintInterface|IndexInterface|SimilarNodeQueueInterface|SimilarRelationQueueInterface $element): self; |
19 | | - |
20 | | - public function merge(NodeInterface|RelationInterface|ConstraintInterface|IndexInterface|SimilarNodeQueueInterface|SimilarRelationQueueInterface $element): self; |
21 | | - |
22 | | - public function delete(NodeInterface|RelationInterface|ConstraintInterface|IndexInterface|SimilarNodeQueueInterface|SimilarRelationQueueInterface $element): self; |
| 18 | + public function add(ActionType $actionType, NodeInterface| |
| 19 | + RelationInterface| |
| 20 | + NodeIndexInterface| |
| 21 | + RelationIndexInterface| |
| 22 | + NodeConstraintInterface| |
| 23 | + RelationConstraintInterface| |
| 24 | + SimilarNodeQueueInterface| |
| 25 | + SimilarRelationQueueInterface $element): self; |
| 26 | + |
| 27 | + public function create(NodeInterface| |
| 28 | + RelationInterface| |
| 29 | + NodeIndexInterface| |
| 30 | + RelationIndexInterface| |
| 31 | + NodeConstraintInterface| |
| 32 | + RelationConstraintInterface| |
| 33 | + SimilarNodeQueueInterface| |
| 34 | + SimilarRelationQueueInterface $element): self; |
| 35 | + |
| 36 | + public function merge(NodeInterface| |
| 37 | + RelationInterface| |
| 38 | + SimilarNodeQueueInterface| |
| 39 | + SimilarRelationQueueInterface $element): self; |
| 40 | + |
| 41 | + public function delete(NodeInterface| |
| 42 | + RelationInterface| |
| 43 | + NodeIndexInterface| |
| 44 | + RelationIndexInterface| |
| 45 | + NodeConstraintInterface| |
| 46 | + RelationConstraintInterface| |
| 47 | + SimilarNodeQueueInterface| |
| 48 | + SimilarRelationQueueInterface $element): self; |
23 | 49 |
|
24 | 50 | public function flush(): self; |
25 | 51 |
|
|
0 commit comments