1 | <?php |
||
13 | class Repositories extends BaseRepositories |
||
14 | { |
||
15 | /** |
||
16 | * API Response object |
||
17 | * |
||
18 | * @var Response |
||
19 | * @since 1.0 |
||
20 | */ |
||
21 | private $apiResponse; |
||
22 | |||
23 | /** |
||
24 | * Get the last API response if one is set |
||
25 | * |
||
26 | * @return Response|null |
||
27 | * |
||
28 | * @since 1.0 |
||
29 | */ |
||
30 | public function getApiResponse() |
||
34 | |||
35 | /** |
||
36 | * Get a list of tags on a repository. |
||
37 | * |
||
38 | * Note: This is different from the parent `getListTags` method as it adds support for the API's pagination. This extended method can be removed |
||
39 | * if the upstream class gains this support. |
||
40 | * |
||
41 | * @param string $owner Repository owner. |
||
42 | * @param string $repo Repository name. |
||
43 | * @param integer $page The page number from which to get items. |
||
44 | * |
||
45 | * @return object |
||
46 | * |
||
47 | * @since 1.0 |
||
48 | */ |
||
49 | public function getTags($owner, $repo, $page = 0) |
||
59 | } |
||
60 |