src/Installer/Installer.php
public function setOverwrite($state = false)
	{
		$tmp = $this->overwrite;

		if ($state)
		{
			$this->overwrite = true;
		}
		else
		{
			$this->overwrite = false;
		}

		return $tmp;
	}
public function setOverwrite($state = false)
	{
		$tmp = $this->overwrite;

		if ($state)
		{
			$this->overwrite = true;
		}
		else
		{
			$this->overwrite = false;
		}

		return $tmp;
	}
public function setOverwrite ( $ state = false ) { $ tmp = $ this -> overwrite ; if ( $ state ) { $ this -> overwrite = true ; } else { $ this -> overwrite = false ; } return $ tmp ; }
Set the allow overwrite switch

@param   boolean  $state  Overwrite switch state

@return  boolean  True it state is set, false if it is not

@since   3.1
Set the allow overwrite switch