PHP Class VersionPress\ChangeInfos\CommitMessageParser

Afficher le fichier Open project: versionpress/versionpress Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( DbSchemaInfo $dbSchema, ActionsInfoProvider $actionsInfoProvider )
parse ( CommitMessage $commitMessage ) : ChangeInfoEnvelope

Private Methods

Méthode Description
containsVersion ( $lastBody )
extractTag ( $tag, $commitMessageBody )
isTrackedChangeInfo ( $body )

Method Details

__construct() public méthode

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

parse() public méthode

public parse ( CommitMessage $commitMessage ) : ChangeInfoEnvelope
$commitMessage VersionPress\Git\CommitMessage
Résultat ChangeInfoEnvelope