diff --git a/src/Franzose/ClosureTable/Console/MakeCommand.php b/src/Franzose/ClosureTable/Console/MakeCommand.php index 5d102ef..51e919f 100644 --- a/src/Franzose/ClosureTable/Console/MakeCommand.php +++ b/src/Franzose/ClosureTable/Console/MakeCommand.php @@ -1,13 +1,14 @@ options[$options[0][0]] = $input[0] ?: rtrim($this->getAppNamespace(), '\\'); + $this->options[$options[0][0]] = $input[0] ?: rtrim(Container::getInstance()->getNamespace(), '\\'); $this->options[$options[1][0]] = substr($input[1], $lastnsdelim); $this->options[$options[2][0]] = $input[2] ?: ExtStr::tableize($input[1]); $this->options[$options[3][0]] = $input[3] ?: $this->options[$options[1][0]] . 'Closure';