You've already forked Atomcms-edit
Initial commit
This commit is contained in:
+21
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace App\Filament\Resources\Hotel;
|
||||
|
||||
use Illuminate\Database\Eloquent\Builder;
|
||||
use Illuminate\Support\Collection;
|
||||
|
||||
class CustomQueryBuilder extends Builder
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
// Call the parent constructor with a dummy query
|
||||
parent::__construct(app('db')->query());
|
||||
}
|
||||
|
||||
#[\Override]
|
||||
public function get($columns = ['*']): Collection
|
||||
{
|
||||
return collect(); // Return an empty collection
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user