1 | <?php namespace Arcanesoft\Auth\Providers; |
||
13 | class ViewComposerServiceProvider extends ServiceProvider |
||
14 | { |
||
15 | /* ----------------------------------------------------------------- |
||
16 | | Properties |
||
17 | | ----------------------------------------------------------------- |
||
18 | */ |
||
19 | /** |
||
20 | * Register the composer classes. |
||
21 | * |
||
22 | * @var array |
||
23 | */ |
||
24 | protected $composerClasses = [ |
||
25 | // Dashboard view composers |
||
26 | Dashboard\UsersCountComposer::VIEW => Dashboard\UsersCountComposer::class, |
||
27 | Dashboard\RolesCountComposer::VIEW => Dashboard\RolesCountComposer::class, |
||
28 | Dashboard\PermissionsCountComposer::VIEW => Dashboard\PermissionsCountComposer::class, |
||
29 | Dashboard\LatestThirtyDaysCreatedUsersComposer::VIEW => Dashboard\LatestThirtyDaysCreatedUsersComposer::class, |
||
30 | Dashboard\OnlineUsersCountComposer::VIEW => Dashboard\OnlineUsersCountComposer::class, |
||
31 | ]; |
||
32 | |||
33 | /* ----------------------------------------------------------------- |
||
34 | | Main Functions |
||
35 | | ----------------------------------------------------------------- |
||
36 | */ |
||
37 | /** |
||
38 | * {@inheritdoc} |
||
39 | */ |
||
40 | 12 | public function boot() |
|
46 | |||
47 | /* ----------------------------------------------------------------- |
||
48 | | Other Functions |
||
49 | | ----------------------------------------------------------------- |
||
50 | */ |
||
51 | /** |
||
52 | * Register other view composers. |
||
53 | */ |
||
54 | 12 | private function registerOtherComposers() |
|
71 | } |
||
72 |