1 | <?php |
||
10 | class FeedServiceProvider extends ServiceProvider |
||
11 | { |
||
12 | public function boot() |
||
13 | { |
||
14 | $this->publishes([ |
||
15 | __DIR__.'/../config/feed.php' => config_path('feed.php'), |
||
16 | ], 'config'); |
||
17 | |||
18 | $this->loadViewsFrom(__DIR__.'/../resources/views', 'feed'); |
||
19 | |||
20 | $this->publishes([ |
||
21 | __DIR__.'/../resources/views' => resource_path('views/vendor/feed'), |
||
22 | ], 'views'); |
||
23 | |||
24 | $this->registerLinksComposer(); |
||
25 | } |
||
26 | |||
27 | public function register() |
||
33 | |||
34 | protected function registerRouteMacro() |
||
46 | |||
47 | public function registerLinksComposer() |
||
53 | |||
54 | protected function feeds() |
||
58 | } |
||
59 |