<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class TLD extends Model { protected $table = 'tlds'; /* ATTRIBUTES */ public function getNameAttribute($value): string { return strtoupper($value); } }