| 1 | <?php namespace GeneaLabs\LaravelModelCaching\Tests\Fixtures\Providers; |
||
| 7 | class NovaServiceProvider extends NovaApplicationServiceProvider |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * Bootstrap any application services. |
||
| 11 | * |
||
| 12 | * @return void |
||
| 13 | */ |
||
| 14 | public function boot() |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Register the Nova routes. |
||
| 25 | * |
||
| 26 | * @return void |
||
| 27 | */ |
||
| 28 | protected function routes() |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Register the Nova gate. |
||
| 37 | * |
||
| 38 | * This gate determines who can access Nova in non-local environments. |
||
| 39 | * |
||
| 40 | * @return void |
||
| 41 | */ |
||
| 42 | protected function gate() |
||
| 48 | |||
| 49 | /** |
||
| 50 | * Get the cards that should be displayed on the Nova dashboard. |
||
| 51 | * |
||
| 52 | * @return array |
||
| 53 | */ |
||
| 54 | protected function cards() |
||
| 59 | |||
| 60 | /** |
||
| 61 | * Get the tools that should be listed in the Nova sidebar. |
||
| 62 | * |
||
| 63 | * @return array |
||
| 64 | */ |
||
| 65 | public function tools() |
||
| 69 | |||
| 70 | /** |
||
| 71 | * Register any application services. |
||
| 72 | * |
||
| 73 | * @return void |
||
| 74 | */ |
||
| 75 | public function register() |
||
| 79 | |||
| 80 | protected function resources() |
||
| 84 | } |
||
| 85 |