Logo
Explore Help
Register Sign In
lq/spa-api
1
0
Fork 0
You've already forked spa-api
Code Issues Pull Requests Actions 1 Packages Projects Releases Wiki Activity
Files
8cece7259806b3e4af6f185ffa4772dded70cd21
spa-api/database/seeds/DatabaseSeeder.php

17 lines
250 B
PHP
Raw Normal View History

setup seeder.
2013-02-07 14:51:28 -06:00
<?php
Remove classes from aliases list Eloquent and Seeder were used to extend from which is a bad practice. The SoftDeletingTrait should be imported just like the UserTrait and the RemindableTrait. Str was also removed because it's just a shortcut for the namespace. People can always re-add it if they like. I wasn't entirely sure what FormRequest was doing here but I have a feeling it's going to be used for the same reasons as one of the above classes. So I removed it as well.
2014-08-31 17:13:44 +02:00
use Illuminate\Database\Seeder;
PSR-2 for app.
2015-02-22 20:47:03 -06:00
class DatabaseSeeder extends Seeder
{
/**
update comment
2018-03-21 16:29:49 -07:00
* Seed the application's database.
PSR-2 for app.
2015-02-22 20:47:03 -06:00
*
* @return void
*/
public function run()
{
Rename commented default seeder call Rename commented default seeder call to be consistent with official docs
2016-02-16 13:42:33 -06:00
// $this->call(UsersTableSeeder::class);
PSR-2 for app.
2015-02-22 20:47:03 -06:00
}
Minor cs fixes
2014-03-15 10:14:55 +00:00
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 25.5.0 Page: 49ms Template: 2ms
English
English 简体中文 繁體中文(台灣) 繁體中文(香港)
Licenses API