namespaces refactoring part 2

This commit is contained in:
Peter Papp
2021-07-18 18:05:33 +02:00
parent 8f77a497b5
commit 54dc57fcbf
107 changed files with 310 additions and 279 deletions

View File

@@ -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
*