/home/techb158/ileadtechnology.com/SSM/app/Models/utility
Edit: /home/techb158/ileadtechnology.com/SSM/app/Models/utility/EmailTemplate.php (1222B)
'array'];
protected $primaryKey = 'id';
protected $table = 'email_templates';
protected static $ignoreChangedAttributes = ['updated_at'];
protected static $logFillable = true;
protected static $logName = 'email_template';
protected static $logOnlyDirty = true;
public function getOption(string $option)
{
return array_get($this->options, $option);
}
public function setBodyAttribute($value)
{
$this->attributes['body'] = scriptStripper($value);
}
public function scopeFilterBySlug($q, $slug)
{
if (! $slug) {
return $q;
}
return $q->where('slug', '=', $slug);
}
}