| Total Complexity | 2 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class SeoTag extends Model implements SeoTagContract |
||
| 11 | { |
||
| 12 | use HasFactory; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * The attributes that aren't mass assignable. |
||
| 16 | * |
||
| 17 | * @var array<string>|bool |
||
| 18 | */ |
||
| 19 | protected $guarded = []; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * The attributes that should be cast. |
||
| 23 | * |
||
| 24 | * @var array |
||
| 25 | */ |
||
| 26 | protected $casts = [ |
||
| 27 | 'tags' => AsCollection::class, |
||
| 28 | ]; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @return string |
||
| 32 | */ |
||
| 33 | 8 | public function getUrlColumnName(): string |
|
| 36 | } |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @return string |
||
| 40 | */ |
||
| 41 | 8 | public function getTagsColumnName(): string |
|
| 46 |