composer = $composer; } /** * Execute the console command. * * @return void */ public function handle() { parent::handle(); $this->composer->dumpAutoloads(); } /** * Get the stub file for the generator. * * @return string */ protected function getStub() { return __DIR__.'/stubs/seeder.stub'; } /** * Get the destination class path. * * @param string $name * @return string */ protected function getPath($name) { return $this->laravel->databasePath().'/seeds/'.$name.'.php'; } /** * Parse the class name and format according to the root namespace. * * @param string $name * @return string */ protected function qualifyClass($name) { return $name; } }