<?php

/** @var Factory $factory */

use App\Partner;
use Faker\Generator as Faker;
use Illuminate\Database\Eloquent\Factory;

$factory->define(Partner::class, function (Faker $faker) {
    $images = [
        'assets/web/images/partn/1.svg',
        'assets/web/images/partn/2.svg',
        'assets/web/images/partn/3.svg',
        'assets/web/images/partn/4.svg',
        'assets/web/images/partn/5.svg',
    ];
    return [
        'type' => $faker->randomElement(['partner', 'insurance']),
        'url' => 'https://alyomhost.com',
//        'image' => $faker->randomElement($images)
    ];
});
