source: trunk/Packages/Common/Base.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: 269 bytes
Line 
1<?php
2
3class Base
4{
5 public System $System;
6 public Database $Database;
7
8 function __construct(System $System)
9 {
10 $this->System = &$System;
11 $this->Database = &$System->Database;
12 }
13
14 static function GetClassName()
15 {
16 return get_called_class();
17 }
18}
Note: See TracBrowser for help on using the repository browser.