public function setPath($path)
	{
		if (is_dir($path) && is_writable($path)) {
			$this->path = substr($path, -1) == DIRECTORY_SEPARATOR ? $path : $path . DIRECTORY_SEPARATOR;
			return true;
		}
		throw new Exception('"Path" must be a writable directory.');
	}
public function setPath($path)
	{
		if (is_dir($path) && is_writable($path)) {
			$this->path = substr($path, -1) == DIRECTORY_SEPARATOR ? $path : $path . DIRECTORY_SEPARATOR;
			return true;
		}
		throw new Exception('"Path" must be a writable directory.');
	}
public function setPath ( $ path ) { if ( is_dir ( $ path ) && is_writable ( $ path ) ) { $ this -> path = substr ( $ path , - 1 ) == DIRECTORY_SEPARATOR ? $ path : $ path . DIRECTORY_SEPARATOR ; return true ; } throw new Exception ( '"Path" must be a writable directory.' ) ; }
Property set path

@param string $path the full path of the directory with read/write access to save the registry file to

@return bool
@throws Exception
Property set path