public static function forge($companyID = 0, $clientID = 0) { static::$clientID = $clientID; static::$companyID = $companyID; // -- Check that the user static::$_userCentreID = \Auth::get('call_center_id'); \Log::info('User 2 center ID is ' . static::$companyID); static::$debtsolvDatabase = static::setDatabaseConnection(); }
public static function forge($company = null, $clientID = 0) { static::$company = $company; static::$companyID = static::getCompanyID(); static::$clientID = (int) $clientID; }