Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
use Faker\Generator as Faker;
$factory->define(App\Applicant_skill::class, function (Faker $faker) {
return [
'applicant_id' => \App\Applicant::all()->random()->id,
'skill_id' => \App\Skills::all()->random()->id,
];
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment