jonnybarnes.uk/database/factories/BookmarkFactory.php

13 lines
248 B
PHP
Raw Normal View History

2017-10-10 15:58:07 +01:00
<?php
use App\Models\Bookmark;
2017-10-10 15:58:07 +01:00
use Faker\Generator as Faker;
$factory->define(Bookmark::class, function (Faker $faker) {
2017-10-10 15:58:07 +01:00
return [
'url' => $faker->url,
'name' => $faker->sentence,
'content' => $faker->text,
];
});