DiscordPHP Documentation

PartInterface.php

Table of Contents

Interfaces

PartInterface
Contract for every DiscordPHP "Part" — the hydrated objects returned for Discord API entities (users, channels, messages, …). Defines construction, attribute access via mutators, `ArrayAccess`, (de)serialization and the attribute projections (`getCreatableAttributes()` / `getUpdatableAttributes()`) the repositories use when POST/PATCHing. {@see Part} is the concrete base.
On this page

Search results