PHP Class PhpBrew\PatchPHP

$patchphp = new PatchPHP('patch-name'); $patchphp->fetchDiff( 'http://remote.url/patch-1.diff' ); $patchphp->patch(); OR: $patchphp = new PatchPHP('patch-name'); $patchphp->diff =<<patch();
Mostra file Open project: phpbrew/phpbrew

Public Properties

Property Type Description
$diff
$patchName

Public Methods

Method Description
__construct ( $patchName = null )
fetchDiff ( string $url ) fetch remote diff.
getPatchFilename ( )
patch ( ) patch file.

Method Details

__construct() public method

public __construct ( $patchName = null )

fetchDiff() public method

fetch remote diff.
public fetchDiff ( string $url )
$url string

getPatchFilename() public method

public getPatchFilename ( )

patch() public method

patch file.
public patch ( )

Property Details

$diff public_oe property

public $diff

$patchName public_oe property

public $patchName