| @@ 37-47 (lines=11) @@ | ||
| 34 | return $output->writeln('<error>Command not available for this application</error>'); |
|
| 35 | } |
|
| 36 | ||
| 37 | protected function getCommand(Config $config, $option) |
|
| 38 | { |
|
| 39 | $type = $config->type; |
|
| 40 | switch ($type) { |
|
| 41 | case 'magento': |
|
| 42 | return "cd /var/www;bin/behat $option"; |
|
| 43 | break; |
|
| 44 | } |
|
| 45 | ||
| 46 | return false; |
|
| 47 | } |
|
| 48 | ||
| 49 | } |
|
| 50 | ||
| @@ 37-47 (lines=11) @@ | ||
| 34 | return $output->writeln('<error>Command not available for this application</error>'); |
|
| 35 | } |
|
| 36 | ||
| 37 | protected function getCommand(Config $config, $option) |
|
| 38 | { |
|
| 39 | $type = $config->type; |
|
| 40 | switch ($type) { |
|
| 41 | case 'magento': |
|
| 42 | return "cd /var/www;bin/phpspec $option"; |
|
| 43 | break; |
|
| 44 | } |
|
| 45 | ||
| 46 | return false; |
|
| 47 | } |
|
| 48 | ||
| 49 | } |
|
| 50 | ||