Piwik\Plugins\UserLanguage\UserLanguage::extendVisitorDetails PHP Method

extendVisitorDetails() public method

public extendVisitorDetails ( &$visitor, $details )
    public function extendVisitorDetails(&$visitor, $details)
    {
        $instance = new Visitor($details);
        $visitor['languageCode'] = $instance->getLanguageCode();
        $visitor['language'] = $instance->getLanguage();
    }