Total Complexity | 1 |
Total Lines | 16 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | abstract class ModelBuilder |
||
13 | { |
||
14 | abstract public function alternativeNamespace(string $alternativeNs, string $actualNs): ModelBuilder; |
||
15 | |||
16 | abstract public function defineType( |
||
17 | string $modelInstanceType, |
||
18 | string $typeName |
||
19 | ): ModelElementTypeBuilderInterface; |
||
20 | |||
21 | abstract public function defineGenericType(string $typeName, string $typeNamespaceUri): ModelElementTypeInterface; |
||
22 | |||
23 | abstract public function build(): ModelInterface; |
||
24 | |||
25 | public static function createInstance(string $modelName): ModelBuilder |
||
30 |