Skip to content

Core Traits ​

The Core/ namespace contains the low-level plumbing traits that power scopes, caching, change tracking, locale-aware tagging, and shared model helpers. Most top-level traits depend on one or more of these.

TraitDescription
ModelHelpersMaster composition trait: scopes, routes, activity logging, title helpers
HasScopesStandard visibility scopes and global scope registration convention
HasCachingAutomatic cache invalidation via CacheObserver
HasCacheDependentsCross-model cache dependency graph
HasCompanyCompany association with auto-create on save
ChangeRelationshipsTracks which relationships changed during a request cycle
LocaleTagsLocale-scoped tagging via the tagged pivot table