source: trunk/Packages/Common/Model.php

Last change on this file was 95, checked in by chronos, 3 years ago
  • Modified: Updated Common package.
  • Added: Explicit types for better type checking.
  • Fixed: Support for php 8.0.
File size: 244 bytes
Line 
1<?php
2
3class Model extends Base
4{
5 static function GetModelDesc(): ModelDesc
6 {
7 $Desc = new ModelDesc(self::GetClassName());
8 $Desc->AddString('Name');
9 $Desc->AddReference('Module', Module::GetClassName());
10 return $Desc;
11 }
12}
Note: See TracBrowser for help on using the repository browser.