class AnnouncementsFetcher

Constants

API_BASE_URL

TAG

EXCLUDE_VERSION_TAGS

Version tags whose news is only relevant to older lines. A discussion is dropped from the feed when it carries one of these AND none of the tags in {KEEP_VERSION_TAGS} — so a 1.x-only patch note is hidden, but a post tagged for both 1.x and 2.x still comes through. Version-neutral posts (Community Updates, announcements) carry neither and are always kept.

This has to be applied in PHP: the discussions API's negated tag filter excludes on the mere presence of a tag, so it can't express "1.x but not also 2.x" and would drop the dual-tagged posts we want to keep.

KEEP_VERSION_TAGS

Version tags that rescue a discussion from exclusion — the current line's news. A post tagged for both an excluded line and this one is kept.

LIMIT

FETCH_LIMIT

EXCERPT_LENGTH

Methods

__construct(ApplicationInfoProvider $appInfo)

No description

array
fetch()

No description

Details

__construct(ApplicationInfoProvider $appInfo)

Parameters

ApplicationInfoProvider $appInfo

array fetch()

Return Value

array