public function add($udiff, $root = JPATH_ROOT, $strip = 0)
	{
		$this->patches[] = array(
			'udiff' => $udiff,
			'root' => isset($root) ? rtrim($root, DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR : '',
			'strip' => $strip
		);

		return $this;
	}
public function add($udiff, $root = JPATH_ROOT, $strip = 0)
	{
		$this->patches[] = array(
			'udiff' => $udiff,
			'root' => isset($root) ? rtrim($root, DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR : '',
			'strip' => $strip
		);

		return $this;
	}
public function add ( $ udiff , $ root = JPATH_ROOT , $ strip = 0 ) { $ this -> patches [ ] = array ( 'udiff' => $ udiff , 'root' => isset ( $ root ) ? rtrim ( $ root , DIRECTORY_SEPARATOR ) . DIRECTORY_SEPARATOR : '' , 'strip' => $ strip ) ; return $ this ; }
Add a unified diff string to the patcher

@param   string   $udiff  Unified diff input string
@param   string   $root   The files root path
@param   integer  $strip  The number of '/' to strip

@return	Patcher  $this for chaining

@since   1.0
Add a unified diff string to the patcher