DiscordPHP Documentation

AbstractRepositoryInterface.php

Table of Contents

Interfaces

AbstractRepositoryInterface
Contract for a DiscordPHP repository: a keyed, cached {@see CollectionInterface} of {@see Part}s for one Discord API resource, plus the async CRUD methods (`freshen()`, `fetch()`, `create()`, `save()`, `delete()`) that talk to the Discord REST API and keep the cache in sync. {@see AbstractRepository} is the concrete base every repository extends.
On this page

Search results