We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4316740 + c3b3caa commit bf0c2b0Copy full SHA for bf0c2b0
src/Console/Commands/AbstractGeneratorCommand.php
@@ -85,7 +85,7 @@ abstract class AbstractGeneratorCommand extends GeneratorCommand
85
*
86
* @var string
87
*/
88
- private $stubsDirectory = __DIR__ . '/../../../stubs';
+ private $stubsDirectory;
89
90
/**
91
* Create a new config clear command instance.
@@ -99,6 +99,7 @@ public function __construct(Filesystem $files)
99
$this->useEloquent = config('json-api.generator.use-eloquent', true);
100
$this->subNamespace = config('json-api.generator.namespace', 'JsonApi');
101
$this->namespaceByResource = config('json-api.generator.by-resource', true);
102
+ $this->stubsDirectory = __DIR__ . '/../../../stubs';
103
}
104
105
0 commit comments