public function setExtension($ext)
	{
		$this->extension = $ext;

		if(!$this->extensionMap->has($ext))
		{
			throw new Exceptions\InvalidExtension($ext);
		}

		return $this;
	}
public function setExtension($ext)
	{
		$this->extension = $ext;

		if(!$this->extensionMap->has($ext))
		{
			throw new Exceptions\InvalidExtension($ext);
		}

		return $this;
	}
public function setExtension ( $ ext ) { $ this -> extension = $ ext ; if ( ! $ this -> extensionMap -> has ( $ ext ) ) { throw new Exceptions \ InvalidExtension ( $ ext ) ; } return $ this ; }
Sets the extension

@param String $ext
@return Converter
@author Dan Cox
Sets the extension