Repository
Table of Contents
Namespaces
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.
Classes
- AbstractRepository
- Repositories provide a way to store and update parts on the Discord server.
- ActivityInstanceRepository
- Contains activity instances of an application.
- EmojiRepository
- Contains emojis of an application.
- GuildRepository
- Contains guilds that the client is in.
- LobbyRepository
- Contains lobbies.
- PrivateChannelRepository
- Contains private channels and groups that the client has access to.
- SoundRepository
- Contains sounds of an application.
- StickerPackRepository
- Contains sticker packs of an application.
- UserRepository
- Contains users that the client shares guilds with.
- VoiceStateRepository
- Contains voice states of users in a guild.
Traits
- AbstractRepositoryTrait
- Provides common functionality for all repositories.