1 | <?php |
||
19 | class GitHubServiceProvider implements ServiceProviderInterface |
||
20 | { |
||
21 | /** |
||
22 | * Registers the service provider with a DI container. |
||
23 | * |
||
24 | * @param Container $container The DI container. |
||
25 | * |
||
26 | * @return void |
||
27 | */ |
||
28 | 11 | public function register(Container $container): void |
|
34 | |||
35 | /** |
||
36 | * Get the `github` service |
||
37 | * |
||
38 | * @param Container $container The DI container. |
||
39 | * |
||
40 | * @return GitHub |
||
41 | */ |
||
42 | public function getGithubService(Container $container): GitHub |
||
49 | } |
||
50 |