@@ 45-52 (lines=8) @@ | ||
42 | /** |
|
43 | * @param array $argv |
|
44 | */ |
|
45 | public function handleArgv(array $argv = null) { |
|
46 | $option = $this->createEnvOption(); |
|
47 | $option->parseArgv($argv); |
|
48 | $this->detectEnvFromOption($option); |
|
49 | ||
50 | $this->start(); |
|
51 | $this->console->parseArgv($argv); |
|
52 | } |
|
53 | ||
54 | /** |
|
55 | * @param array $args |
|
@@ 57-64 (lines=8) @@ | ||
54 | /** |
|
55 | * @param array $args |
|
56 | */ |
|
57 | public function handleArgs(array $args) { |
|
58 | $option = $this->createEnvOption(); |
|
59 | $option->parseArgs($args); |
|
60 | $this->detectEnvFromOption($option); |
|
61 | ||
62 | $this->start(); |
|
63 | $this->console->parseArgs($args); |
|
64 | } |
|
65 | ||
66 | /** |
|
67 | * @param $string |
|
@@ 69-76 (lines=8) @@ | ||
66 | /** |
|
67 | * @param $string |
|
68 | */ |
|
69 | public function handleArgsString($string) { |
|
70 | $option = $this->createEnvOption(); |
|
71 | $option->parseString($string); |
|
72 | $this->detectEnvFromOption($option); |
|
73 | ||
74 | $this->start(); |
|
75 | $this->console->parseString($string); |
|
76 | } |
|
77 | ||
78 | /** |
|
79 | * @return IConsole |