| 1 | <?php |
||
| 11 | class TmdbServiceProviderLaravel5 extends ServiceProvider { |
||
| 12 | |||
| 13 | /** |
||
| 14 | * Bootstrap the application events. |
||
| 15 | * |
||
| 16 | * @return void |
||
| 17 | */ |
||
| 18 | public function boot() |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Register the service provider. |
||
| 27 | * |
||
| 28 | * @return void |
||
| 29 | */ |
||
| 30 | public function register() |
||
| 36 | |||
| 37 | /** |
||
| 38 | * Get the TMDB configuration from the config repository |
||
| 39 | * |
||
| 40 | * @return array |
||
| 41 | */ |
||
| 42 | public function config() |
||
| 46 | |||
| 47 | /** |
||
| 48 | * Setup configuration |
||
| 49 | * |
||
| 50 | * @return void |
||
| 51 | */ |
||
| 52 | private function setupConfiguration() |
||
| 57 | |||
| 58 | /** |
||
| 59 | * Returns the default configuration path |
||
| 60 | * |
||
| 61 | * @return string |
||
| 62 | */ |
||
| 63 | private function defaultConfig() |
||
| 67 | } |
||
| 68 |