DiscordPHP-MTG Documentation

Legality extends Part
in package

One entry from a {@see Card}'s `legalities` array — whether the card is `Legal` / `Banned` / `Restricted` in a given format. Not a standalone endpoint; it only appears inside the card response.

Tags
link

Card object (see the legalities field)

see
Card

The parent object

since
0.3.0

Table of Contents

Properties

$format  : string
$legality  : string
$fillable  : mixed

Properties

$format

public string $format

The format of the card.

$legality

public string $legality

The legality status of the card in the format.

$fillable

protected mixed $fillable = ['format', 'legality']
Tags
inheritDoc
On this page

Search results