src/Cornford/Googlmapper/MapperBase.php
public function setType($value)
	{
		if (!in_array($value, $this->types)) {
			throw new MapperArgumentException('Invalid map type.');
		}

		$this->type = $value;
	}
public function setType($value)
	{
		if (!in_array($value, $this->types)) {
			throw new MapperArgumentException('Invalid map type.');
		}

		$this->type = $value;
	}
public function setType ( $ value ) { if ( ! in_array ( $ value , $ this -> types ) ) { throw new MapperArgumentException ( 'Invalid map type.' ) ; } $ this -> type = $ value ; }
Set map type.

@param string $value

@throws MapperArgumentException

@return void
Set map type .