osb/app/Models/TLD.php
2022-02-02 10:43:59 +11:00

17 lines
231 B
PHP

<?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);
}
}