Total Lines | 27 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
16 | interface ProcessBuilderInterface |
||
17 | { |
||
18 | /** |
||
19 | * Creates a Process instance and returns it |
||
20 | * |
||
21 | * @return Process |
||
22 | */ |
||
23 | public function getProcess(); |
||
24 | |||
25 | /** |
||
26 | * Adds an argument to the command string |
||
27 | * |
||
28 | * @param string $argument |
||
29 | * |
||
30 | * @return ProcessBuilder |
||
31 | */ |
||
32 | public function add($argument); |
||
33 | |||
34 | /** |
||
35 | * Sets the working directory |
||
36 | * |
||
37 | * @param string $directory |
||
38 | * |
||
39 | * @return ProcessBuilder |
||
40 | */ |
||
41 | public function setWorkingDirectory($directory); |
||
42 | } |
||
43 |