| Total Complexity | 3 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | class RelationshipDefinitionRef extends ModelElementInstanceImpl |
||
| 12 | { |
||
| 13 | public static function registerType(ModelBuilder $modelBuilder): void |
||
| 14 | { |
||
| 15 | $typeBuilder = $modelBuilder->defineType( |
||
| 16 | RelationshipDefinitionRef::class, |
||
| 17 | TestModelConstants::ELEMENT_NAME_RELATIONSHIP_DEFINITION_REF |
||
| 18 | ) |
||
| 19 | ->namespaceUri(TestModelConstants::MODEL_NAMESPACE) |
||
| 20 | ->instanceProvider( |
||
| 21 | new class implements ModelTypeInstanceProviderInterface |
||
| 22 | { |
||
| 23 | public function newInstance(ModelTypeInstanceContext $instanceContext): RelationshipDefinitionRef |
||
| 26 | } |
||
| 27 | } |
||
| 28 | ); |
||
| 29 | |||
| 30 | $typeBuilder->build(); |
||
| 31 | } |
||
| 32 | |||
| 33 | public function __construct(ModelTypeInstanceContext $instanceContext) |
||
| 36 | } |
||
| 37 | } |
||
| 38 |