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