1 | <?php namespace Afrittella\BackProject\Models\Observers; |
||
7 | class RemoveAttachableWheDeletingAttachment |
||
8 | { |
||
9 | protected $request; |
||
10 | |||
11 | public function __construct(Request $request) |
||
15 | |||
16 | /** |
||
17 | * When we remove attachment, we must delete all "attachables" reference |
||
18 | * @param Attachment $attachment |
||
19 | */ |
||
20 | public function deleting(Attachment $attachment) |
||
24 | } |
||
25 |