| 1 | <?php |
||
| 18 | abstract class AbstractGitHubIO extends AbstractIO |
||
| 19 | { |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @var Api |
||
| 23 | */ |
||
| 24 | protected $api; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Gets an active connection to the GitHub api. |
||
| 28 | * |
||
| 29 | * @return Api |
||
| 30 | */ |
||
| 31 | 4 | protected function getApi() |
|
| 40 | |||
| 41 | /** |
||
| 42 | * Creates a new instance of the API library to use later. |
||
| 43 | * |
||
| 44 | * @throws InvalidArgumentException |
||
| 45 | */ |
||
| 46 | 1 | protected function createApiInstance() |
|
| 59 | |||
| 60 | } |
||
| 61 |