<?php

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

use App\Slider;
use Faker\Generator as Faker;

$factory->define(Slider::class, function (Faker $faker) {
    $images = [
        'assets/web/images/header-1.jpg',
        'assets/web/images/header-2.jpg',
        'assets/web/images/header-3.jpg',
    ];
    return [
        'url' => 'https://google.com',
        'image' => $faker->randomElement($images),
    ];
});
