@@ -15,13 +15,13 @@ |
||
15 | 15 | use Yaro\Jarboe\Http\Controllers\Traits\Handlers\EditHandlerTrait; |
16 | 16 | use Yaro\Jarboe\Http\Controllers\Traits\Handlers\ForceDeleteHandlerTrait; |
17 | 17 | use Yaro\Jarboe\Http\Controllers\Traits\Handlers\HistoryHandlerTrait; |
18 | -use Yaro\Jarboe\Http\Controllers\Traits\Handlers\RevertHandlerTrait; |
|
19 | 18 | use Yaro\Jarboe\Http\Controllers\Traits\Handlers\InlineHandlerTrait; |
20 | 19 | use Yaro\Jarboe\Http\Controllers\Traits\Handlers\ListHandlerTrait; |
21 | 20 | use Yaro\Jarboe\Http\Controllers\Traits\Handlers\OrderByHandlerTrait; |
22 | 21 | use Yaro\Jarboe\Http\Controllers\Traits\Handlers\PerPageHandlerTrait; |
23 | 22 | use Yaro\Jarboe\Http\Controllers\Traits\Handlers\RenderRepeaterItemHandlerTrait; |
24 | 23 | use Yaro\Jarboe\Http\Controllers\Traits\Handlers\RestoreHandlerTrait; |
24 | +use Yaro\Jarboe\Http\Controllers\Traits\Handlers\RevertHandlerTrait; |
|
25 | 25 | use Yaro\Jarboe\Http\Controllers\Traits\Handlers\SearchHandlerTrait; |
26 | 26 | use Yaro\Jarboe\Http\Controllers\Traits\Handlers\SearchRelationHandlerTrait; |
27 | 27 | use Yaro\Jarboe\Http\Controllers\Traits\Handlers\SortableHandlerTrait; |
@@ -60,5 +60,9 @@ |
||
60 | 60 | abstract protected function init(); |
61 | 61 | abstract protected function bound(); |
62 | 62 | abstract protected function crud(): CRUD; |
63 | + |
|
64 | + /** |
|
65 | + * @param string $action |
|
66 | + */ |
|
63 | 67 | abstract protected function can($action): bool; |
64 | 68 | } |
@@ -60,5 +60,9 @@ |
||
60 | 60 | abstract protected function init(); |
61 | 61 | abstract protected function bound(); |
62 | 62 | abstract protected function crud(): CRUD; |
63 | + |
|
64 | + /** |
|
65 | + * @param string $action |
|
66 | + */ |
|
63 | 67 | abstract protected function can($action): bool; |
64 | 68 | } |