|
@@ -21,23 +21,23 @@ |
|
|
block discarded – undo |
|
21
|
21
|
*/ |
|
22
|
22
|
public function getProcess() |
|
23
|
23
|
{ |
|
24
|
|
- $this_prefix = \Closure::bind(function(ProcessBuilder $builder){return $builder->prefix;}, null, get_parent_class($this)); |
|
|
24
|
+ $this_prefix = \Closure::bind(function(ProcessBuilder $builder) {return $builder->prefix; }, null, get_parent_class($this)); |
|
25
|
25
|
$this_prefix = $this_prefix($this); |
|
26
|
|
- $this_arguments = \Closure::bind(function(ProcessBuilder $builder){return $builder->arguments;}, null, get_parent_class($this)); |
|
|
26
|
+ $this_arguments = \Closure::bind(function(ProcessBuilder $builder) {return $builder->arguments; }, null, get_parent_class($this)); |
|
27
|
27
|
$this_arguments = $this_arguments($this); |
|
28
|
|
- $this_options = \Closure::bind(function(ProcessBuilder $builder){return $builder->options;}, null, get_parent_class($this)); |
|
|
28
|
+ $this_options = \Closure::bind(function(ProcessBuilder $builder) {return $builder->options; }, null, get_parent_class($this)); |
|
29
|
29
|
$this_options = $this_options($this); |
|
30
|
|
- $this_inheritEnv = \Closure::bind(function(ProcessBuilder $builder){return $builder->inheritEnv;}, null, get_parent_class($this)); |
|
|
30
|
+ $this_inheritEnv = \Closure::bind(function(ProcessBuilder $builder) {return $builder->inheritEnv; }, null, get_parent_class($this)); |
|
31
|
31
|
$this_inheritEnv = $this_inheritEnv($this); |
|
32
|
|
- $this_env = \Closure::bind(function(ProcessBuilder $builder){return $builder->env;}, null, get_parent_class($this)); |
|
|
32
|
+ $this_env = \Closure::bind(function(ProcessBuilder $builder) {return $builder->env; }, null, get_parent_class($this)); |
|
33
|
33
|
$this_env = $this_env($this); |
|
34
|
|
- $this_cwd = \Closure::bind(function(ProcessBuilder $builder){return $builder->cwd;}, null, get_parent_class($this)); |
|
|
34
|
+ $this_cwd = \Closure::bind(function(ProcessBuilder $builder) {return $builder->cwd; }, null, get_parent_class($this)); |
|
35
|
35
|
$this_cwd = $this_cwd($this); |
|
36
|
|
- $this_input = \Closure::bind(function(ProcessBuilder $builder){return $builder->input;}, null, get_parent_class($this)); |
|
|
36
|
+ $this_input = \Closure::bind(function(ProcessBuilder $builder) {return $builder->input; }, null, get_parent_class($this)); |
|
37
|
37
|
$this_input = $this_input($this); |
|
38
|
|
- $this_timeout = \Closure::bind(function(ProcessBuilder $builder){return $builder->timeout;}, null, get_parent_class($this)); |
|
|
38
|
+ $this_timeout = \Closure::bind(function(ProcessBuilder $builder) {return $builder->timeout; }, null, get_parent_class($this)); |
|
39
|
39
|
$this_timeout = $this_timeout($this); |
|
40
|
|
- $this_outputDisabled = \Closure::bind(function(ProcessBuilder $builder){return $builder->outputDisabled;}, null, get_parent_class($this)); |
|
|
40
|
+ $this_outputDisabled = \Closure::bind(function(ProcessBuilder $builder) {return $builder->outputDisabled; }, null, get_parent_class($this)); |
|
41
|
41
|
$this_outputDisabled = $this_outputDisabled($this); |
|
42
|
42
|
if (0 === count($this_prefix) && 0 === count($this_arguments)) { |
|
43
|
43
|
throw new LogicException('You must add() command arguments before calling getProcess().'); |