initial import

This commit is contained in:
2025-07-30 09:47:03 +02:00
commit b0a186a324
292 changed files with 32323 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
<?php
namespace App\Filament\Resources\PluginResource;
use Illuminate\Database\Eloquent\Model;
class Plugin extends Model
{
protected $table = null; // No actual table
protected $guarded = []; // Allow mass assignment for all attributes
public $incrementing = false;
protected $keyType = 'string';
protected $primaryKey = 'id';
public function __construct(array $attributes = [])
{
parent::__construct($attributes);
foreach ($attributes as $key => $value) {
$this->$key = $value;
}
}
public function newCollection(array $models = [])
{
return new \Illuminate\Database\Eloquent\Collection($models);
}
public function newEloquentBuilder($query)
{
return new CollectionEloquentBuilder($query);
}
}