first commit
This commit is contained in:
17
app/Contracts/AttachmentAble.php
Normal file
17
app/Contracts/AttachmentAble.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace App\Contracts;
|
||||
|
||||
use App\Models\Attachment;
|
||||
use Illuminate\Database\Eloquent\Relations\MorphMany;
|
||||
|
||||
interface AttachmentAble
|
||||
{
|
||||
/**
|
||||
* @return Attachment[]
|
||||
*/
|
||||
public function attachments();
|
||||
public function attachmentsRelation(): MorphMany;
|
||||
|
||||
public function getProjectId(): int;
|
||||
}
|
||||
Reference in New Issue
Block a user