php artisan The use statement with non-compound name 'DB' has no effect
星期四, 2016-06-02 10:25 — shipingzhongadmin
In PHP the use statement is more of an alias than import. So since the ClassesTableSeeder class isn't in a defined namespace, you don't need to import the DB class. As a result you can remove use DB entirely.