Debian Codegraph @

lib/3rdParty/composer/illuminate/pagination/PaginationServiceProvider.php

raw symbols SCIP
1 <?php
2
3 namespace Illuminate\Pagination;
4
5 use Illuminate\Support\ServiceProvider;
6
7 class PaginationServiceProvider extends ServiceProvider
8 {
9 /**
10 * Bootstrap any application services.
11 *
12 * @return void
13 */
14 public function boot()
15 {
16 $this->loadViewsFrom(__DIR__.'/resources/views', 'pagination');
17
18 if ($this->app->runningInConsole()) {
19 $this->publishes([
20 __DIR__.'/resources/views' => $this->app->resourcePath('views/vendor/pagination'),
21 ], 'laravel-pagination');
22 }
23 }
24
25 /**
26 * Register the service provider.
27 *
28 * @return void
29 */
30 public function register()
31 {
32 PaginationState::resolveUsing($this->app);
33 }
34 }