We have detected an error in your notification set-up
(Event-ID dab39dc24f564ec7bd4628d1305fd03c).
Currently, we cannot inform you about inspection progress.
Please check that the user
557058:bca11929-8c2d-43f2-8a82-c5416880d395 still has access to your repository or
update the API account.
| 1 | <?php |
||
| 18 | class Branches extends API\Api |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * Get a list of branches |
||
| 22 | * |
||
| 23 | * @access public |
||
| 24 | * @param string $account The team or individual account owning the repository. |
||
| 25 | * @param string $repo The repository identifier. |
||
| 26 | * @param string|array $params GET parameters |
||
| 27 | * @return ResponseInterface |
||
| 28 | * |
||
| 29 | * @throws \InvalidArgumentException |
||
| 30 | */ |
||
| 31 | 2 | public function all($account, $repo, $params = array()) |
|
| 38 | |||
| 39 | /** |
||
| 40 | * Get an individual branch |
||
| 41 | * |
||
| 42 | * @access public |
||
| 43 | * @param string $account The team or individual account owning the repository. |
||
| 44 | * @param string $repo The repository identifier. |
||
| 45 | * @param string $name The branch identifier. |
||
| 46 | * @return ResponseInterface |
||
| 47 | * |
||
| 48 | * @throws \InvalidArgumentException |
||
| 49 | */ |
||
| 50 | 1 | public function get($account, $repo, $name) |
|
| 56 | |||
| 57 | /** |
||
| 58 | * Deletes an individual branch |
||
| 59 | * |
||
| 60 | * @access public |
||
| 61 | * @param string $account The team or individual account owning the repository. |
||
| 62 | * @param string $repo The repository identifier. |
||
| 63 | * @param string $name The branch identifier. |
||
| 64 | * @return ResponseInterface |
||
| 65 | * |
||
| 66 | * @throws \InvalidArgumentException |
||
| 67 | */ |
||
| 68 | 1 | public function delete($account, $repo, $name) |
|
| 74 | } |
||
| 75 |