$patchphp = new PatchPHP('patch-name');
$patchphp->fetchDiff( 'http://remote.url/patch-1.diff' );
$patchphp->patch();
OR:
$patchphp = new PatchPHP('patch-name');
$patchphp->diff =<<patch();
ファイルを表示
Open project: phpbrew/phpbrew
Property | Type | Description | |
---|---|---|---|
$diff | |||
$patchName |
Method | Description | |
---|---|---|
__construct ( $patchName = null ) | ||
fetchDiff ( string $url ) | fetch remote diff. | |
getPatchFilename ( ) | ||
patch ( ) | patch file. |