| Total Complexity | 5 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 2 |
| 1 | <?php |
||
| 9 | class StancyServiceProvider extends ServiceProvider |
||
| 10 | { |
||
| 11 | public function boot(): void |
||
| 16 | } |
||
| 17 | |||
| 18 | public function register(): void |
||
| 19 | { |
||
| 20 | $this->registerConfig(); |
||
| 21 | $this->registerSchemaOrg(); |
||
| 22 | $this->registerPage(); |
||
| 23 | } |
||
| 24 | |||
| 25 | protected function registerConfig(): void |
||
| 26 | { |
||
| 27 | $this->mergeConfigFrom( |
||
| 28 | __DIR__.'/../config/stancy.php', 'stancy' |
||
| 29 | ); |
||
| 30 | } |
||
| 31 | |||
| 32 | protected function registerSchemaOrg(): void |
||
| 33 | { |
||
| 34 | $this->app->singleton(Graph::class); |
||
| 35 | } |
||
| 36 | |||
| 37 | protected function registerPage(): void |
||
| 40 | } |
||
| 41 | } |
||
| 42 |