PHP Class VersionPress\ChangeInfos\CommitMessageParser

Datei anzeigen Open project: versionpress/versionpress Class Usage Examples

Public Methods

Method Description
__construct ( DbSchemaInfo $dbSchema, ActionsInfoProvider $actionsInfoProvider )
parse ( CommitMessage $commitMessage ) : ChangeInfoEnvelope

Private Methods

Method Description
containsVersion ( $lastBody )
extractTag ( $tag, $commitMessageBody )
isTrackedChangeInfo ( $body )

Method Details

__construct() public method

public __construct ( DbSchemaInfo $dbSchema, ActionsInfoProvider $actionsInfoProvider )
$dbSchema VersionPress\Database\DbSchemaInfo
$actionsInfoProvider VersionPress\Actions\ActionsInfoProvider

parse() public method

public parse ( CommitMessage $commitMessage ) : ChangeInfoEnvelope
$commitMessage VersionPress\Git\CommitMessage
return ChangeInfoEnvelope