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