Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
1 | <?php |
2 | |
3 | declare( strict_types = 1 ); |
4 | |
5 | namespace EntitySchema\DataAccess; |
6 | |
7 | use EntitySchema\Domain\Model\EntitySchemaId; |
8 | |
9 | /** |
10 | * @license GPL-2.0-or-later |
11 | */ |
12 | interface EntitySchemaInserter { |
13 | |
14 | /** |
15 | * @param string $language |
16 | * @param string $label |
17 | * @param string $description |
18 | * @param string[] $aliases |
19 | * @param string $schemaText |
20 | * |
21 | * @return EntitySchemaId id of inserted Schema |
22 | */ |
23 | public function insertSchema( |
24 | string $language, |
25 | string $label, |
26 | string $description, |
27 | array $aliases, |
28 | string $schemaText |
29 | ): EntitySchemaId; |
30 | |
31 | } |