public function __construct($VariablesArray) { Races::$DBConnection = $VariablesArray[0]::$Connection; Races::$TM = $VariablesArray[1]; }