ChangelogEntryType

Enum
backed by string

Represents the supported Keep a Changelog entry categories.

Table of Contents

Cases

 = 'Added'
 = 'Changed'
 = 'Deprecated'
 = 'Fixed'
 = 'Removed'
 = 'Security'

Methods

fromInput()

Resolves a user-provided category value to an enum case.

 : self
ordered()

Returns the changelog section ordering expected by the renderer.

 : array<int, self>
Cases

Cases

Methods

fromInput()

Public Static

Resolves a user-provided category value to an enum case.

public static fromInput( string  $value) : self
Parameters
$value : string

Description

the raw category value

Return values
self

Description

the resolved changelog entry type

ordered()

Public Static

Returns the changelog section ordering expected by the renderer.

public static ordered() : array<int, self>
Return values
array<int, self>