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
Table of Contents
Properties
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']