Skip to content

Reference

tilttek/rules-lookup

Every public type of the package, with its role.

TypeRole
RuleA rule: identifier, titles and texts by locale, category, references and source
RuleIdThe identifier of a rule: system, key and version, written system@version:key
RuleQueryA search: folded words, locale, system, version, category and page
RuleMatchA rule a store found, with its score
RuleMatchesOne page of matches and their total
RuleHitA rule as a reader sees it in the results, with the notice of its source
SearchResultsOne page of hits, and the notices of its sources as text or HTML
RulesLookupSearches, finds a rule by its identifier, and follows references both ways
RulesFromSystemThe rules of a system of tilttek/rpg-systems
Contract\RuleStoreThe store port: get, search, and the rules that refer to one
Store\InMemoryRuleStoreThe store in memory, indexed once, never changed
Message\ReindexRulesThe message of a system whose rules changed, with its key and version
Exception\RulesLookupException and its two exceptionsExceptions