| 1 | <?php namespace Arcanesoft\Foundation\ViewComposers\System; |
||
| 11 | class FoldersPermissionsComposer |
||
| 12 | { |
||
| 13 | /* ----------------------------------------------------------------- |
||
| 14 | | Constants |
||
| 15 | | ----------------------------------------------------------------- |
||
| 16 | */ |
||
| 17 | const VIEW = 'foundation::admin.system.information._includes.folders-permissions'; |
||
| 18 | |||
| 19 | /* ----------------------------------------------------------------- |
||
| 20 | | Main Methods |
||
| 21 | | ----------------------------------------------------------------- |
||
| 22 | */ |
||
| 23 | /** |
||
| 24 | * Compose the view. |
||
| 25 | * |
||
| 26 | * @param \Illuminate\View\View $view |
||
| 27 | */ |
||
| 28 | public function compose(View $view) |
||
| 39 | |||
| 40 | /* ----------------------------------------------------------------- |
||
| 41 | | Other Methods |
||
| 42 | | ----------------------------------------------------------------- |
||
| 43 | */ |
||
| 44 | /** |
||
| 45 | * Prepare the permissions. |
||
| 46 | * |
||
| 47 | * @param array $folders |
||
| 48 | * |
||
| 49 | * @return \Illuminate\Support\Collection |
||
| 50 | */ |
||
| 51 | private function prepare(array $folders) |
||
| 64 | } |
||
| 65 |