src/Console/CommandCreator.php 1 location
|
@@ 59-68 (lines=10) @@
|
| 56 |
|
* |
| 57 |
|
* @return string |
| 58 |
|
*/ |
| 59 |
|
protected function resolveCommandNamespace() |
| 60 |
|
{ |
| 61 |
|
if ($this->config->has(['namespaces', 'consoleNamespace'])) { |
| 62 |
|
return $this->config->get( |
| 63 |
|
['namespaces', 'consoleNamespace'] |
| 64 |
|
).'\Commands'; |
| 65 |
|
} |
| 66 |
|
|
| 67 |
|
return $this->guessNamespace($this->config->getCommandsDirectory()); |
| 68 |
|
} |
| 69 |
|
} |
| 70 |
|
|
src/Console/DirectoryCreator.php 1 location
|
@@ 64-71 (lines=8) @@
|
| 61 |
|
* |
| 62 |
|
* @return string |
| 63 |
|
*/ |
| 64 |
|
protected function resolveConsoleNamespace() |
| 65 |
|
{ |
| 66 |
|
if ($this->config->has(['namespaces', 'consoleNamespace'])) { |
| 67 |
|
return $this->config->get(['namespaces', 'consoleNamespace']); |
| 68 |
|
} |
| 69 |
|
|
| 70 |
|
return $this->guessNamespace($this->config->getConsoleDirectory()); |
| 71 |
|
} |
| 72 |
|
} |
| 73 |
|
|