-
-
Save uno-de-piera/209a2340e0ed946b159c1b57e9aeb041 to your computer and use it in GitHub Desktop.
This file contains 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 Faker\Generator as Faker; | |
$factory->define(App\Post::class, function (Faker $faker) { | |
return [ | |
"title" => $faker->title, | |
"content" => $faker->text | |
]; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment