1 | <?php declare(strict_types=1); |
||
9 | final class TravisHandler |
||
10 | { |
||
11 | /** |
||
12 | * @var AsyncClientInterface |
||
13 | */ |
||
14 | private $travis; |
||
15 | |||
16 | /** |
||
17 | * @param AsyncClientInterface $travis |
||
18 | */ |
||
19 | public function __construct(AsyncClientInterface $travis) |
||
23 | |||
24 | /** |
||
25 | * @param TravisCommand $command |
||
26 | * @return PromiseInterface |
||
27 | */ |
||
28 | public function handle(TravisCommand $command): PromiseInterface |
||
32 | } |
||
33 |