mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-22 09:32:14 +00:00
namespaces refactoring part 2
This commit is contained in:
@@ -2,12 +2,12 @@
|
||||
namespace Domain\Files\Controllers;
|
||||
|
||||
use Illuminate\Http\Request;
|
||||
use Domain\Settings\Models\Zip;
|
||||
use Domain\Zipping\Models\Zip;
|
||||
use Support\Services\HelperService;
|
||||
use App\Http\Controllers\Controller;
|
||||
use Illuminate\Support\Facades\Auth;
|
||||
use Illuminate\Support\Facades\Storage;
|
||||
use Domain\Settings\Models\File as UserFile;
|
||||
use Domain\SetupWizard\Services\HelperService;
|
||||
use Domain\Files\Models\File as UserFile;
|
||||
|
||||
class FileAccessController extends Controller
|
||||
{
|
||||
|
||||
@@ -2,6 +2,9 @@
|
||||
namespace Domain\Files\Models;
|
||||
|
||||
use ByteUnits\Metric;
|
||||
use Database\Factories\FileFactory;
|
||||
use Domain\Folders\Models\Folder;
|
||||
use Domain\Sharing\Models\Share;
|
||||
use Illuminate\Support\Str;
|
||||
use Laravel\Scout\Searchable;
|
||||
use Kyslik\ColumnSortable\Sortable;
|
||||
@@ -51,6 +54,11 @@ class File extends Model
|
||||
|
||||
protected $keyType = 'string';
|
||||
|
||||
protected static function newFactory(): FileFactory
|
||||
{
|
||||
return FileFactory::new();
|
||||
}
|
||||
|
||||
/**
|
||||
* Set routes with public access
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user