<?php

/** @var \Illuminate\Database\Eloquent\Factory $factory */

use App\Occasion;
use Faker\Generator as Faker;

$factory->define(Occasion::class, function (Faker $faker) {
    $images = [
        'assets/web/images/gallery1.png',
        'assets/web/images/gallery2.png',
        'assets/web/images/gallery3.png',
        'assets/web/images/gallery4.png',
    ];
    return [
        'image' => $faker->randomElement($images),
        'url' => 'https://www.youtube.com/watch?v=h0pEL8GklCc',
    ];
});
