| 1 | <?php |
||
| 22 | class GitHubServiceProvider implements ServiceProviderInterface |
||
| 23 | { |
||
| 24 | /** |
||
| 25 | * Registers the service provider with a DI container. |
||
| 26 | * |
||
| 27 | * @param Container $container The DI container. |
||
| 28 | * |
||
| 29 | * @return void |
||
| 30 | * |
||
| 31 | * @since 1.0 |
||
| 32 | */ |
||
| 33 | 1 | public function register(Container $container) |
|
| 39 | |||
| 40 | /** |
||
| 41 | * Get the `github` service |
||
| 42 | * |
||
| 43 | * @param Container $container The DI container. |
||
| 44 | * |
||
| 45 | * @return GitHub |
||
| 46 | * |
||
| 47 | * @since 1.0 |
||
| 48 | */ |
||
| 49 | 1 | public function getGithubService(Container $container) : GitHub |
|
| 56 | } |
||
| 57 |