| Total Complexity | 2 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | class FlightInstructor extends ModelElementInstanceImpl |
||
| 14 | { |
||
| 15 | public function __construct(ModelTypeInstanceContext $instanceContext) |
||
| 16 | { |
||
| 17 | parent::__construct($instanceContext); |
||
| 18 | } |
||
| 19 | |||
| 20 | public static function registerType(ModelBuilder $modelBuilder): void |
||
| 21 | { |
||
| 22 | $typeBuilder = $modelBuilder->defineType( |
||
| 23 | FlightInstructor::class, |
||
| 24 | TestModelConstants::ELEMENT_NAME_FLIGHT_INSTRUCTOR |
||
| 25 | ) |
||
| 26 | ->namespaceUri(TestModelConstants::MODEL_NAMESPACE) |
||
| 27 | ->instanceProvider( |
||
| 28 | new class implements ModelTypeInstanceProviderInterface |
||
| 29 | { |
||
| 30 | public function newInstance(ModelTypeInstanceContext $instanceContext): FlightInstructor |
||
| 38 | } |
||
| 39 | } |
||
| 40 |