This commit is contained in:
MeghdadFadaee committed 2026-09-09 16:33:18 +03:30
commit aafddfb146
64 files changed
+17178

No files matched your search

+27
View File
@@ -0,0 +1,27 @@
<?php
namespace MeghdadFadaee\NovaTenancy\Tests\Fixtures;
use Laravel\Nova\Fields\FieldCollection;
use Laravel\Nova\Http\Requests\NovaRequest;
use MeghdadFadaee\NovaTenancy\Nova\TenantResource;
class TenantRecordResource extends TenantResource
{
public static $model = TenantRecord::class;
public function fields(NovaRequest $request): array
{
return [];
}
public function creationFields(NovaRequest $request): FieldCollection
{
return new FieldCollection;
}
public function updateFields(NovaRequest $request): FieldCollection
{
return new FieldCollection;
}
}