Lines n/a 0 / 0
Functions and Methods n/a 0 / 0
Classes and Traits n/a 0 / 0
Name Lines Functions and Methods CRAP Classes and Traits
1<?php
2
3declare(strict_types=1);
4
5namespace Stewart\Runtime\Broker\Deploy;
6
7use Amp\Cancellation;
8use Amp\CancelledException;
9use Stewart\Contracts\Time\Duration;
10use Stewart\Runtime\Exception\DeployException;
11
12interface ExternalCommandRunner
13{
14    /**
15     * @param non-empty-list<string> $command
16     * @throws DeployException
17     * @throws CancelledException
18     */
19    public function runCommand(array $command, Duration $timeout, Cancellation $cancellation): ExternalCommandResult;
20}