摘要: 1.定义工厂函数$factory->define(App\Test(model类名)::class, function (Faker\Generator $faker) { return [ 'name' => $faker->name, 'email' => $faker->email, 'pas 阅读全文
posted @ 2016-12-10 21:32 Docter 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 1.Intervention\Image\ImageServiceProvider::class //provider配置 2.'Image' => Intervention\Image\Facades\Image::class, //门面下配置 3.查询手册 阅读全文
posted @ 2016-12-10 10:32 Docter 阅读(276) 评论(0) 推荐(0) 编辑