File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -34,17 +34,17 @@ public function disableReordering(): void
34
34
35
35
private function setReorderingSession (): void
36
36
{
37
- session ([' reordering- ' . $ this ->tableName => true ]);
37
+ session ([$ this ->getReorderingSessionKey () => true ]);
38
38
}
39
39
40
40
private function forgetReorderingSession (): void
41
41
{
42
- session ()->forget (' reordering- ' . $ this ->tableName );
42
+ session ()->forget ($ this ->getReorderingSessionKey () );
43
43
}
44
44
45
45
private function hasReorderingSession (): bool
46
46
{
47
- return session ()->has (' reordering- ' . $ this ->tableName );
47
+ return session ()->has ($ this ->getReorderingSessionKey () );
48
48
}
49
49
50
50
private function setReorderingProperties (): void
@@ -86,4 +86,9 @@ private function setReorderingProperties(): void
86
86
]);
87
87
}
88
88
}
89
+
90
+ private function getReorderingSessionKey (): string
91
+ {
92
+ return $ this ->tableName .'-reordering ' ;
93
+ }
89
94
}
You can’t perform that action at this time.
0 commit comments