scratch – Blame information for rev 122
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
120 | office | 1 | <?php |
2 | |||
3 | /* |
||
4 | * This file is part of Alchemy\BinaryDriver. |
||
5 | * |
||
6 | * (c) Alchemy <info@alchemy.fr> |
||
7 | * |
||
8 | * For the full copyright and license information, please view the LICENSE |
||
9 | * file that was distributed with this source code. |
||
10 | */ |
||
11 | |||
12 | namespace Alchemy\BinaryDriver; |
||
13 | |||
14 | use Alchemy\BinaryDriver\Exception\ExecutionFailureException; |
||
15 | use Psr\Log\LoggerAwareInterface; |
||
16 | use SplObjectStorage; |
||
17 | use Symfony\Component\Process\Process; |
||
18 | |||
19 | interface ProcessRunnerInterface extends LoggerAwareInterface |
||
20 | { |
||
21 | /** |
||
22 | * Executes a process, logs events |
||
23 | * |
||
24 | * @param Process $process |
||
25 | * @param SplObjectStorage $listeners Some listeners |
||
26 | * @param Boolean $bypassErrors Set to true to disable throwing ExecutionFailureExceptions |
||
27 | * |
||
28 | * @return string The Process output |
||
29 | * |
||
30 | * @throws ExecutionFailureException in case of process failure. |
||
31 | */ |
||
32 | public function run(Process $process, SplObjectStorage $listeners, $bypassErrors); |
||
33 | } |