meta = $meta; } public function isPrimaryKey(): bool { return str_contains($this->meta['Key']??null, "PRI"); } public function isNullable(): bool { return ($this->meta['Null']??null) == "YES"; } public function getName(): string { return $this->meta['Field']; } public function getType(): string { return $this->meta['Type']; } public function getDefaultValue(): mixed { return $this->meta['Default'] ?? null; } }