public function convertToEz($posixLocale)
    {
        if (!isset($this->reverseConversionMap[$posixLocale])) {
            $this->logger->warning("Could not convert locale '$posixLocale' to eZ Publish format. Please check your locale configuration in ezplatform.yml");

            return;
        }

        return $this->reverseConversionMap[$posixLocale];
    }
public function convertToEz($posixLocale)
    {
        if (!isset($this->reverseConversionMap[$posixLocale])) {
            $this->logger->warning("Could not convert locale '$posixLocale' to eZ Publish format. Please check your locale configuration in ezplatform.yml");

            return;
        }

        return $this->reverseConversionMap[$posixLocale];
    }
public function convertToEz ( $ posixLocale ) { if ( ! isset ( $ this -> reverseConversionMap [ $ posixLocale ] ) ) { $ this -> logger -> warning ( "Could not convert locale '$posixLocale' to eZ Publish format. Please check your locale configuration in ezplatform.yml" ) ; return ; } return $ this -> reverseConversionMap [ $ posixLocale ] ; }
Converts a locale in POSIX format to eZ Publish internal format.
Returns null if conversion cannot be made.

@param string $posixLocale

@return string|null
Converts a locale in POSIX format to eZ Publish internal format . Returns null if conversion cannot be made .