1 | <?php declare(strict_types=1); |
||
15 | class User extends BaseUser |
||
16 | { |
||
17 | public function refresh() : PromiseInterface |
||
18 | { |
||
19 | return $this->handleCommand( |
||
20 | new RefreshCommand($this) |
||
21 | ); |
||
22 | } |
||
23 | |||
24 | public function repository(string $repository): PromiseInterface |
||
25 | { |
||
26 | return $this->handleCommand( |
||
27 | new RepositoryCommand($this->login(), $repository) |
||
28 | ); |
||
29 | } |
||
30 | |||
31 | public function repositories(): ObservableInterface |
||
37 | |||
38 | public function organizations(): ObservableInterface |
||
39 | { |
||
44 | } |
||
45 |