Created
October 28, 2017 18:59
-
-
Save deleugpn/a4c16906bd973bb02c3d12c637c8f9cc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| use App\Models\Tenant\Post; | |
| use Faker\Generator as Faker; | |
| $factory->define(Post::class, function (Faker $faker) { | |
| return [ | |
| 'title' => $faker->sentence, | |
| 'body' => $faker->paragraph | |
| ]; | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment