@@ 34-42 (lines=9) @@ | ||
31 | * |
|
32 | * @return int |
|
33 | */ |
|
34 | public function run(InputInterface $input = null, OutputInterface $output = null) |
|
35 | { |
|
36 | $argv = $_SERVER['argv']; |
|
37 | $script = array_shift($argv); |
|
38 | array_unshift($argv, 'client'); |
|
39 | array_unshift($argv, $script); |
|
40 | ||
41 | return parent::run(new ArgvInput($argv), $output); |
|
42 | } |
|
43 | } |
|
44 |
@@ 41-49 (lines=9) @@ | ||
38 | * |
|
39 | * @return int |
|
40 | */ |
|
41 | public function run(InputInterface $input = null, OutputInterface $output = null) |
|
42 | { |
|
43 | $argv = $_SERVER['argv']; |
|
44 | $script = array_shift($argv); |
|
45 | array_unshift($argv, 'process'); |
|
46 | array_unshift($argv, $script); |
|
47 | ||
48 | return parent::run(new ArgvInput($argv), $output); |
|
49 | } |
|
50 | } |
|
51 |