mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 00:02:15 +00:00
namespaces refactoring part 2
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
<?php
|
||||
namespace Domain\Sharing\Models;
|
||||
|
||||
use Database\Factories\ShareFactory;
|
||||
use Illuminate\Support\Str;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Notifications\Notifiable;
|
||||
@@ -27,6 +28,11 @@ class Share extends Model
|
||||
'is_protected' => 'boolean',
|
||||
];
|
||||
|
||||
protected static function newFactory(): ShareFactory
|
||||
{
|
||||
return ShareFactory::new();
|
||||
}
|
||||
|
||||
/**
|
||||
* Generate share link
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user