mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-31 21:51:10 -04:00
14 lines
273 B
PHP
14 lines
273 B
PHP
<?php
|
|
|
|
/** @var \Illuminate\Database\Eloquent\Factory $factory */
|
|
|
|
use Crater\Company;
|
|
use Faker\Generator as Faker;
|
|
|
|
$factory->define(Company::class, function (Faker $faker) {
|
|
return [
|
|
'unique_hash' => str_random(60),
|
|
'name' => $faker->name
|
|
];
|
|
});
|