PHP Class Liip\RMT\Version\Persister\VcsTagPersister

Inheritance: implements Liip\RMT\Version\Persister\PersisterInterface
Mostra file Open project: liip/rmt

Protected Properties

Property Type Description
$options
$vcs
$versionRegex

Public Methods

Method Description
__construct ( $options = [] )
getCurrentVersion ( )
getCurrentVersionTag ( )
getInformationRequests ( )
getTagFromVersion ( $versionName )
getTagPrefix ( )
getValidVersionTags ( string $versionRegex ) : array Return all tags matching the versionRegex and prefix
getVersionFromTag ( $tagName )
getVersionFromTags ( $tags )
init ( )
save ( $versionNumber )

Protected Methods

Method Description
generatePrefix ( $userTag )

Method Details

__construct() public method

public __construct ( $options = [] )

generatePrefix() protected method

protected generatePrefix ( $userTag )

getCurrentVersion() public method

public getCurrentVersion ( )

getCurrentVersionTag() public method

getInformationRequests() public method

getTagFromVersion() public method

public getTagFromVersion ( $versionName )

getTagPrefix() public method

public getTagPrefix ( )

getValidVersionTags() public method

Return all tags matching the versionRegex and prefix
public getValidVersionTags ( string $versionRegex ) : array
$versionRegex string
return array

getVersionFromTag() public method

public getVersionFromTag ( $tagName )

getVersionFromTags() public method

public getVersionFromTags ( $tags )

init() public method

public init ( )

save() public method

public save ( $versionNumber )

Property Details

$options protected_oe property

protected $options

$vcs protected_oe property

protected $vcs

$versionRegex protected_oe property

protected $versionRegex