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
10f242eaa5809ef71b3bba7ab668d8bef6961d1f
spa-api/database/seeds/DatabaseSeeder.php

17 lines
240 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
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
Use the ::class notation Updated to use ::class notation.
2015-06-23 10:07:33 -07:00
// $this->call(UserTableSeeder::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: 42ms Template: 2ms
English
English 简体中文 繁體中文(台灣) 繁體中文(香港)
Licenses API