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