Completed
Branch development (67b918)
by Marc
02:48
created

ProcessBuilderInterface::getProcess()

Size

Total Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 1
ccs 0
cts 0
cp 0
c 0
b 0
f 0
1
<?php
2
declare(strict_types=1);
3
/*
4
 * This file is part of the asm\php-ansible package.
5
 *
6
 * (c) Marc Aschmann <[email protected]>
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 Asm\Ansible\Process;
13
14
use Symfony\Component\Process\Process;
15
16
/**
17
 * @package Asm\Ansible\Process
18
 * @author Marc Aschmann <[email protected]>
19
 */
20
interface ProcessBuilderInterface
21
{
22
    /**
23
     * @param array $arguments arguments for process generation
24
     * @return ProcessBuilderInterface
25
     */
26
    public function setArguments(array $arguments): ProcessBuilderInterface;
27
28
    /**
29
     * @param int $timeout
30
     * @return ProcessBuilderInterface
31
     */
32
    public function setTimeout(int $timeout): ProcessBuilderInterface;
33
34
    /**
35
     * @return Process
36
     */
37
    public function getProcess(): Process;
38
}
39