Normalise tagline/tearline/origin
This commit is contained in:
20
app/Models/Tearline.php
Normal file
20
app/Models/Tearline.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Tearline extends Model
|
||||
{
|
||||
//use HasFactory;
|
||||
|
||||
public const UPDATED_AT = NULL;
|
||||
|
||||
protected $fillable = ['value'];
|
||||
|
||||
public function complete(): string
|
||||
{
|
||||
return sprintf('--- %s',$this->value);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user