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