1
0
Fork 0
forked from mirror/pixelfed
pixelfed/app/UIKit.php

22 lines
310 B
PHP
Raw Normal View History

<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class UIKit extends Model
{
protected $table = 'uikit';
protected $fillable = [
'k',
'v',
'defv',
'dhis'
];
public static function section($k)
{
return (new self)->where('k', $k)->first()->v;
}
}