| 1 | <?php declare(strict_types=1); |
||
| 13 | final class ScrutinizerHandler |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var ScrutinizerGithubAsyncClientInterface |
||
| 17 | */ |
||
| 18 | private $scrutinizer; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param AsyncClientInterface $client |
||
| 22 | */ |
||
| 23 | public function __construct(AsyncClientInterface $client) |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @param ScrutinizerCommand $command |
||
| 30 | * @return PromiseInterface |
||
| 31 | */ |
||
| 32 | public function handle(ScrutinizerCommand $command): PromiseInterface |
||
| 49 | } |
||
| 50 |