Skip to content

Extension points

tilttek/geek-dates

The package is at 0.x: its extension points are stable only from its 1.0 release. Until then, a minor version may change them, and its CHANGELOG says how.

PointWhat an application givesWhere
EntryIts own entries, built in codeReference
EntryReaderIts own rows, from configuration, a file or a database, in the shipped data's formData
Catalog::shipped($zone, $own), Catalog::with()The shipped entries and its own in one catalogReference
new Catalog($entries, $zone)Only the entries it chooses: some of ShippedData::entries(), or noneReference
Phil\Almanac\Rule\RuleA rule of its own, implemented for phil/almanac, given to an EntryReference
DataCheckThe check of its own rows before it reads themData

The entries, filters and occurrences are values; the catalog keeps no state between two questions.