Category implements Arrayable
FinalYes
Table of Contents
Interfaces
Properties
- $channelId : int
- $closed : bool
- $creatorId : int
- $description : string
- $eventsCount : int
- $id : int
- $isBanned : bool|null
- $isMuted : bool|null
- $name : string
- $newCount : int|null
- $permissions : EventCategoryPermissions
- $updatedAt : int|null
Methods
- __construct() : mixed
- toArray() : array<string|int, mixed>
Properties
$channelId read-only
public
int
$channelId
$closed read-only
public
bool
$closed
$creatorId read-only
public
int
$creatorId
$description read-only
public
string
$description
$eventsCount read-only
public
int
$eventsCount
$id read-only
public
int
$id
$isBanned read-only
public
bool|null
$isBanned
= false
$isMuted read-only
public
bool|null
$isMuted
= false
$name read-only
public
string
$name
$newCount read-only
public
int|null
$newCount
= null
$permissions read-only
public
EventCategoryPermissions
$permissions
$updatedAt read-only
public
int|null
$updatedAt
= null
Methods
__construct()
public
__construct(int $id, bool $closed, string $name, string $description, int $creatorId, int $eventsCount, EventCategoryPermissions $permissions, int $channelId[, bool|null $isMuted = false ][, bool|null $isBanned = false ][, int|null $newCount = null ][, int|null $updatedAt = null ]) : mixed
Parameters
- $id : int
- $closed : bool
- $name : string
- $description : string
- $creatorId : int
- $eventsCount : int
- $permissions : EventCategoryPermissions
- $channelId : int
- $isMuted : bool|null = false
- $isBanned : bool|null = false
- $newCount : int|null = null
- $updatedAt : int|null = null
toArray()
public
toArray() : array<string|int, mixed>