public function getArchitectureFromUserAgent($userAgent, $targetToAnalyze = 'os')
    {
        switch ($targetToAnalyze) {
            case 'browser':
                $aReturn = $this->getArchitectureFromUserAgentBrowser($userAgent);
                break;
            case 'os':
                $aReturn = $this->getArchitectureFromUserAgentOperatingSystem($userAgent);
                break;
            default:
                $aReturn = ['name' => '---'];
                break;
        }
        return $aReturn;
    }