PHP Class Liip\RMT\Action\BuildPharPackageAction

Inheritance: extends BaseAction
Show file Open project: liip/rmt

Protected Properties

Property Type Description
$releaseVersion

Public Methods

Method Description
__construct ( $options )
execute ( )

Protected Methods

Method Description
create ( ) Handles the creation of the package.
getDestination ( ) : string Get the destination directory to build the package into.
getFilename ( ) : string Determines the package filename based on the next version and the 'package-name' option.
isRelativePath ( $path ) : boolean Checks if the path is relative.
setReleaseVersion ( ) Determine and set the next release version.

Method Details

__construct() public method

public __construct ( $options )

create() protected method

Handles the creation of the package.
protected create ( )

execute() public method

public execute ( )

getDestination() protected method

Get the destination directory to build the package into.
protected getDestination ( ) : string
return string The destination

getFilename() protected method

Determines the package filename based on the next version and the 'package-name' option.
protected getFilename ( ) : string
return string

isRelativePath() protected method

Checks if the path is relative.
protected isRelativePath ( $path ) : boolean
$path string The path to check
return boolean

setReleaseVersion() protected method

Determine and set the next release version.
protected setReleaseVersion ( )

Property Details

$releaseVersion protected property

protected $releaseVersion