public function seedModule($module)
    {
        $className = '\\'.$module.'\Database\Seeds\DatabaseSeeder';
        if (!class_exists($className)) {
            return;
        }

        $seeder = App::make($className);
        $seeder->run();

        $this->note(sprintf('<info>Seeded %s</info> ', $module));
        return $this;
    }
public function seedModule($module)
    {
        $className = '\\'.$module.'\Database\Seeds\DatabaseSeeder';
        if (!class_exists($className)) {
            return;
        }

        $seeder = App::make($className);
        $seeder->run();

        $this->note(sprintf('<info>Seeded %s</info> ', $module));
        return $this;
    }
public function seedModule ( $ module ) { $ className = '\\' . $ module . '\Database\Seeds\DatabaseSeeder' ; if ( ! class_exists ( $ className ) ) { return ; } $ seeder = App :: make ( $ className ) ; $ seeder -> run ( ) ; $ this -> note ( sprintf ( '<info>Seeded %s</info> ' , $ module ) ) ; return $ this ; }
Run seeds on a module
@param string $module Module name
@return self
Run seeds on a module