Parses the subset of Keep a Changelog structure managed by dev-tools.
Interfaces
Methods
parse()
: ChangelogDocument
Parses markdown content into a changelog document.
extractEntries()
: array<int, string>
Extracts bullet entries for one changelog category.
Parses markdown content into a changelog document.
public
parse(
string
$contents) : ChangelogDocument
Parameters
$contents
:
string
Return values
Extracts bullet entries for one changelog category.
private
extractEntries(
string
$body, ChangelogEntryType
$type) : array<int, string>
Parameters
$body
:
string
Return values
array<int, string>