2020-09-22 14:43:06 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
namespace App\Models;
|
|
|
|
|
|
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
|
|
|
|
|
|
class ProductSliderPictures extends Model
|
|
|
|
|
{
|
2021-03-17 18:53:07 +01:00
|
|
|
public function getTitleAttribute()
|
|
|
|
|
{
|
|
|
|
|
return clean($this->attributes['title']);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public function getCatchPhraseAttribute()
|
|
|
|
|
{
|
|
|
|
|
return clean($this->attributes['catch_phrase']);
|
|
|
|
|
}
|
2020-09-22 14:43:06 +02:00
|
|
|
}
|