You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pixelfed/app/Models/UIKit.php

18 lines
270 B
PHP

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