public function setLanguage($language)
    {
        if (!array_key_exists($language, $this->allowedlanguages)) {
            throw new InvalidArgumentException("Invalid language ISO code");
        }
        $this->parameters['language'] = $language;
    }
public function setLanguage($language)
    {
        if (!array_key_exists($language, $this->allowedlanguages)) {
            throw new InvalidArgumentException("Invalid language ISO code");
        }
        $this->parameters['language'] = $language;
    }
public function setLanguage ( $ language ) { if ( ! array_key_exists ( $ language , $ this -> allowedlanguages ) ) { throw new InvalidArgumentException ( "Invalid language ISO code" ) ; } $ this -> parameters [ 'language' ] = $ language ; }
ISO code eg nl_BE
ISO code eg nl_BE