1 | <?php |
||
20 | class Pages extends AbstractPackage |
||
21 | { |
||
22 | /** |
||
23 | * Get information about a Pages site. |
||
24 | * |
||
25 | * @param string $owner The name of the owner of the GitHub repository. |
||
26 | * @param string $repo The name of the GitHub repository. |
||
27 | * |
||
28 | * @return object |
||
29 | * |
||
30 | * @since 1.4.0 |
||
31 | */ |
||
32 | public function getInfo($owner, $repo) |
||
41 | |||
42 | /** |
||
43 | * List Pages builds. |
||
44 | * |
||
45 | * @param string $owner The name of the owner of the GitHub repository. |
||
46 | * @param string $repo The name of the GitHub repository. |
||
47 | * @param integer $page The page number from which to get items. |
||
48 | * @param integer $limit The number of items on a page. |
||
49 | * |
||
50 | * @return object |
||
51 | * |
||
52 | * @since 1.4.0 |
||
53 | */ |
||
54 | public function getList($owner, $repo, $page = 0, $limit = 0) |
||
63 | |||
64 | /** |
||
65 | * List latest Pages build. |
||
66 | * |
||
67 | * @param string $owner The name of the owner of the GitHub repository. |
||
68 | * @param string $repo The name of the GitHub repository. |
||
69 | * |
||
70 | * @return object |
||
71 | * |
||
72 | * @since 1.4.0 |
||
73 | */ |
||
74 | public function getLatest($owner, $repo) |
||
83 | } |
||
84 |