private static function createLanguage($code, $name, $handle = null, array $extensions = array())
    {
        return array(
            $code => array(
                'name' => $name,
                'handle' => $handle,
                'extensions' => $extensions
            )
        );
    }
private static function createLanguage($code, $name, $handle = null, array $extensions = array())
    {
        return array(
            $code => array(
                'name' => $name,
                'handle' => $handle,
                'extensions' => $extensions
            )
        );
    }
private static function createLanguage ( $ code , $ name , $ handle = null , array $ extensions = array ( ) ) { return array ( $ code => array ( 'name' => $ name , 'handle' => $ handle , 'extensions' => $ extensions ) ) ; }
Create an array of Language information for internal use.

@since Symphony 2.3
@param string $code
Language code, e. g. 'en' or 'pt-br'
@param string $name
Language name
@param string $handle (optional)
Handle for the given language, used to build a valid 'lang_$handle' extension's handle.
Defaults to null.
@param array $extensions (optional)
An array of extensions that support the given language.
@return array
An array of Language information.
Create an array of Language information for internal use .