@@ -254,6 +254,9 @@ |
||
| 254 | 254 | return $this; |
| 255 | 255 | } |
| 256 | 256 | |
| 257 | + /** |
|
| 258 | + * @return integer |
|
| 259 | + */ |
|
| 257 | 260 | abstract public function getModel(); |
| 258 | 261 | abstract public function isMultiple(); |
| 259 | 262 | } |
@@ -2,10 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Yaro\Jarboe\Table\Fields\Traits; |
| 4 | 4 | |
| 5 | -use Illuminate\Http\Request; |
|
| 6 | -use Illuminate\Http\UploadedFile; |
|
| 7 | -use Illuminate\Support\Facades\Storage as IlluminateStorage; |
|
| 8 | - |
|
| 9 | 5 | trait Clipboard |
| 10 | 6 | { |
| 11 | 7 | protected $clipboard = false; |
@@ -43,6 +43,7 @@ |
||
| 43 | 43 | * Set CRUD object. |
| 44 | 44 | * |
| 45 | 45 | * @param CRUD $crud |
| 46 | + * @return void |
|
| 46 | 47 | */ |
| 47 | 48 | public function setCrud(CRUD $crud); |
| 48 | 49 | |
@@ -6,6 +6,9 @@ |
||
| 6 | 6 | { |
| 7 | 7 | protected $placeholder; |
| 8 | 8 | |
| 9 | + /** |
|
| 10 | + * @param string $placeholder |
|
| 11 | + */ |
|
| 9 | 12 | public function placeholder($placeholder) |
| 10 | 13 | { |
| 11 | 14 | $this->placeholder = $placeholder; |
@@ -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 | } |
@@ -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 | } |
@@ -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 | } |