src/Cornford/Googlmapper/MapperBase.php
public function setLanguage($value)
	{
		if (!is_string($value)) {
			throw new MapperArgumentException('Invalid map language.');
		}

		if (!in_array($value, $this->languages)) {
			throw new MapperArgumentException('Language is required in ISO 639-1 code format.');
		}

		$this->language = $value;
	}
public function setLanguage($value)
	{
		if (!is_string($value)) {
			throw new MapperArgumentException('Invalid map language.');
		}

		if (!in_array($value, $this->languages)) {
			throw new MapperArgumentException('Language is required in ISO 639-1 code format.');
		}

		$this->language = $value;
	}
public function setLanguage ( $ value ) { if ( ! is_string ( $ value ) ) { throw new MapperArgumentException ( 'Invalid map language.' ) ; } if ( ! in_array ( $ value , $ this -> languages ) ) { throw new MapperArgumentException ( 'Language is required in ISO 639-1 code format.' ) ; } $ this -> language = $ value ; }
Set the Google Maps language.

@param string $value

@throws MapperArgumentException

@return void
Set the Google Maps language .