Total Complexity | 4 |
Total Lines | 38 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
8 | trait BaseLarupload |
||
9 | { |
||
10 | protected static string $laruploadNull; |
||
11 | |||
12 | private bool $hideLaruploadColumns; |
||
13 | |||
14 | /** |
||
15 | * @var Attachment[] |
||
16 | */ |
||
17 | private array $attachments = []; |
||
18 | |||
19 | protected function initializeLarupload(): void |
||
28 | } |
||
29 | } |
||
30 | |||
31 | public static function bootLarupload(): void |
||
37 | } |
||
38 | } |
||
39 | |||
40 | /** |
||
41 | * Get the entities should upload into the model |
||
42 | * |
||
43 | * @return Attachment[] |
||
44 | */ |
||
45 | abstract public function attachments(): array; |
||
46 | } |
||
47 |