PHP Class DbPatch_Command_Patch_PHP

Author: Sandy Pleyte
Author: Martijn De Letter
Author: Rudi de Vries
Inheritance: extends DbPatch_Command_Patch_Abstract
Datei anzeigen Open project: dbpatch/dbpatch

Protected Properties

Property Type Description
$data array

Public Methods

Method Description
apply ( ) : boolean Apply the PHP Patch
create ( string $description, string $patchDirectory, string $patchPrefix ) : void Create PHP Patch file
getContents ( ) : string
getDescription ( ) : string Return the first line (after
getType ( ) : string

Method Details

apply() public method

Apply the PHP Patch
public apply ( ) : boolean
return boolean

create() public method

Create PHP Patch file
public create ( string $description, string $patchDirectory, string $patchPrefix ) : void
$description string
$patchDirectory string
$patchPrefix string
return void

getContents() public method

public getContents ( ) : string
return string

getDescription() public method

Return the first line (after
public getDescription ( ) : string
return string

getType() public method

public getType ( ) : string
return string

Property Details

$data protected_oe property

protected array $data
return array