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