public function getLanguage()
    {
        foreach ($this->languageDetectionServices as $languageDetectionService) {
            /* @var languageDetectionService LanguageDetectionInterface */
            $language = $languageDetectionService->getLanguage();
            if ($language === null || empty($language)) {
                continue;
            } else {
                return $language;
            }
        }

        return;
    }
public function getLanguage()
    {
        foreach ($this->languageDetectionServices as $languageDetectionService) {
            /* @var languageDetectionService LanguageDetectionInterface */
            $language = $languageDetectionService->getLanguage();
            if ($language === null || empty($language)) {
                continue;
            } else {
                return $language;
            }
        }

        return;
    }
public function getLanguage ( ) { foreach ( $ this -> languageDetectionServices as $ languageDetectionService ) { /* @var languageDetectionService LanguageDetectionInterface */ $ language = $ languageDetectionService -> getLanguage ( ) ; if ( $ language === null || empty ( $ language ) ) { continue ; } else { return $ language ; } } return ; }
Returns the language to use considering all the LanguageDetection services configured.
If no language found this return null

@see \Mouf\Utils\I18n\Fine\LanguageDetectionInterface::getLanguage()
@return string|null
Returns the language to use considering all the LanguageDetection services configured . If no language found this return null