osb/app/Models/TLD.php

17 lines
231 B
PHP
Raw Normal View History

2022-02-01 05:40:46 +00:00
<?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);
}
}