Cachet/app/Models/Setting.php

42 lines
781 B
PHP
Raw Normal View History

<?php
/*
* This file is part of Cachet.
*
2015-07-06 17:37:01 +01:00
* (c) Alt Three Services Limited
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace CachetHQ\Cachet\Models;
2015-01-01 12:23:17 +00:00
use Illuminate\Database\Eloquent\Model;
class Setting extends Model
2014-12-20 21:20:17 +00:00
{
2018-06-16 17:00:27 +01:00
/**
* List of attributes that have default values.
*
* @var string[]
*/
protected $attributes = ['value' => ''];
/**
* The attributes that should be casted to native types.
*
* @var string[]
*/
protected $casts = [
'name' => 'string',
'value' => 'string',
];
2015-01-01 18:57:33 +00:00
/**
* The fillable properties.
*
* @var string[]
*/
2014-12-20 17:50:47 +00:00
protected $fillable = ['name', 'value'];
}