AbstractRepositoryTrait.php
Table of Contents
Traits
- AbstractRepositoryTrait
- Shared implementation for every NHA read-only repository: it is DiscordPHP's `AbstractRepositoryTrait` ported so the collection is keyed and cached the same way, but backed by {@see \NHA\Http\Http} and NHA {@see \NHA\Http\Endpoint}s instead of the Discord API. Concrete repositories (see {@see AbstractRepository}) declare their endpoint map and Part class.