mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 16:22:14 +00:00
namespaces refactoring part 2
This commit is contained in:
@@ -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