Apr 3, 2017
0
Level 1
DatabaseSeeder.php name already in use
Hello,
When I try to use factories with Lumen and run db:seed I get the following error
Fatal error: Cannot declare class DatabaseSeeder, because the name is already in use in /home/vagrant/homesteadproject/blog/database/seeds/DatabaseSeeder.php on line 0
[Symfony\Component\Debug\Exception\FatalErrorException] Cannot declare class DatabaseSeeder, because the name is already in use
This does not happend when I manually create the patients in my model table seeder class or when I use faker inside the run method of the model table seeder class
Please or to participate in this conversation.