1 | <?php declare(strict_types=1); |
||
18 | class Repository extends BaseRepository |
||
19 | { |
||
20 | public function refresh() : PromiseInterface |
||
21 | { |
||
22 | return $this->handleCommand( |
||
23 | new RefreshCommand($this) |
||
24 | ); |
||
25 | } |
||
26 | |||
27 | public function branches(): ObservableInterface |
||
28 | { |
||
29 | return unwrapObservableFromPromise($this->handleCommand( |
||
30 | new BranchesCommand($this->fullName()) |
||
31 | )); |
||
32 | } |
||
33 | |||
34 | public function labels(): ObservableInterface |
||
40 | |||
41 | public function addLabel(string $name, string $colour): PromiseInterface |
||
42 | { |
||
47 | |||
48 | public function contents(): Observable |
||
56 | } |
||
57 |