DiscordPHP-MTG Documentation

Legality extends Part
in package

One entry of a {@see Card}'s `legalities` — its status in one format.

MTGJSON keys legalities by format ({"commander": "Legal"}); each pair becomes one of these. Formats where the card has no status are left out.

Tags
link

Legalities model

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, as MTGJSON names it (commander, paupercommander, standard, …).

$legality

public string $legality

The card's status in the format (Legal, Banned, Restricted, Not Legal).

$fillable

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

Search results