From c0a3342e2a19237d916a005b7b2315042fafbb5a Mon Sep 17 00:00:00 2001 From: Mohammed Al-kutrani Date: Wed, 5 Feb 2020 18:03:32 +0200 Subject: [PATCH] Adding factories namespace on creation --- src/Commands/MakeFactoryReloadedCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Commands/MakeFactoryReloadedCommand.php b/src/Commands/MakeFactoryReloadedCommand.php index 079401a..4ea6ded 100644 --- a/src/Commands/MakeFactoryReloadedCommand.php +++ b/src/Commands/MakeFactoryReloadedCommand.php @@ -60,7 +60,7 @@ public function handle() $this->files->put($classPath, $this->sortImports($this->buildClass($this->fullClassName))); - $this->info($this->type.' created successfully.'); + $this->info(config('factories-reloaded.factories_namespace') . '\\' . $this->className.$this->type . ' created successfully.'); } /**