| 1 | <?php |
||
| 8 | class Bitbucket implements ServiceContract |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Create a new issue on bitbucket. |
||
| 12 | * |
||
| 13 | * @param \FlyingLuscas\Laker\Issue $issue |
||
| 14 | * |
||
| 15 | * @return \Buzz\Message\Response |
||
| 16 | */ |
||
| 17 | public function createIssue(Issue $issue) |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Get Bitbucket respository slug. |
||
| 32 | * |
||
| 33 | * @return string |
||
| 34 | */ |
||
| 35 | private function getRepositorySlug() |
||
| 39 | |||
| 40 | /** |
||
| 41 | * Get Bibucket account slug. |
||
| 42 | * |
||
| 43 | * @return string |
||
| 44 | */ |
||
| 45 | private function getAccountSlug() |
||
| 49 | |||
| 50 | /** |
||
| 51 | * Get issue tracker. |
||
| 52 | * |
||
| 53 | * @return \Bitbucket\API\Repositories\Issues |
||
| 54 | */ |
||
| 55 | private function getIssueTrackerInstance() |
||
| 59 | } |
||
| 60 |