初始化

This commit is contained in:
2026-03-02 13:44:38 +08:00
commit 05b785083c
677 changed files with 58662 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
<?php
namespace addons\webman\form;
use addons\webman\form\Driver\Eloquent;
use Illuminate\Database\Eloquent\Model;
class FormManager extends \ExAdmin\ui\manager\FormManager
{
public function setDriver($repository,$component)
{
parent::setDriver($repository,$component); // TODO: Change the autogenerated stub
if ($repository instanceof Model) {
$this->driver = new Eloquent();
}
}
}