Свойство | Type | Description | |
---|---|---|---|
$checksum | |||
$content | string | The content of the patch file | |
$fileAdditions | array | File additions inside the patch | |
$fileDeletions | array | File deletions/replacements inside the patch | |
$info | stdClass | Info object created by {@see PatchSet::process()} | |
$patchSet | Netresearch\Composer\Patches\PatchSet |
Méthode | Description | |
---|---|---|
__construct ( stdClass $info, Netresearch\Composer\Patches\PatchSet $patchSet ) | Construct with $info from {@see PatchSet::process()} | |
__get ( string $name ) : string | mixed | Get a info property | |
__isset ( string $name ) : string | Check if a info property is set | |
apply ( string $toPath, boolean $dryRun = FALSE ) | Apply the patch | |
getChecksum ( ) : string | ||
getFileAdditions ( ) : type | Get the files, added by this patch | |
getFileDeletions ( ) : array | Get the files, deleted (or replaced) by this patch | |
revert ( string $toPath, boolean $dryRun = FALSE ) | Revert the patch |
Méthode | Description | |
---|---|---|
executeProcess ( string $command, string $cwd, string $stdin, string &$stdout, string &$stderr = NULL ) : integer | Process execution wrapper adapted from | |
getActionFiles ( string $action ) : array | Find the file additions/deletions within the patch file | |
read ( ) : string | Read in the patch | |
runCommand ( string $toPath, boolean $revert = FALSE, boolean $dryRun = FALSE ) | Run the patch command | |
whichPatchCmd ( ) : string | Locate the patch executable |
public __construct ( stdClass $info, Netresearch\Composer\Patches\PatchSet $patchSet ) | ||
$info | stdClass | |
$patchSet | Netresearch\Composer\Patches\PatchSet |
protected getActionFiles ( string $action ) : array | ||
$action | string | '-' or '+' |
Résultat | array |
public getFileAdditions ( ) : type | ||
Résultat | type |
public getFileDeletions ( ) : array | ||
Résultat | array |
protected whichPatchCmd ( ) : string | ||
Résultat | string |
protected string $content | ||
Résultat | string |
protected array $fileAdditions | ||
Résultat | array |
protected array $fileDeletions | ||
Résultat | array |
protected stdClass $info | ||
Résultat | stdClass |