clrghouz/app/Models/Tagline.php
Deon George 742f0cd015
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 39s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m46s
Create Docker Image / Final Docker Image Manifest (push) Successful in 12s
More UTF8 message processing fixes, specifically related to tagline/tearline/origin processing
2024-06-05 21:57:16 +10:00

24 lines
392 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use App\Casts\UTF8StringOrNull;
class Tagline extends Model
{
//use HasFactory;
public const UPDATED_AT = NULL;
protected $casts = [
'value' => UTF8StringOrNull::class,
];
public function complete(): string
{
return sprintf('... %s',$this->value);
}
}