*/ class ManufacturersImportFileBuilder extends FileBuilder { /** * @inheritdoc */ protected function getDictionary(): array { return [ 'name' => 'name', 'support_email' => 'support_email', 'support_phone' => 'Support Phone', 'notes' => 'notes', 'support_fax' => 'support_fax', 'support_url' => 'support_url', ]; } /** * @inheritdoc */ public function definition(): array { $faker = fake(); return [ 'name' => $faker->company, 'support_email' => Str::random(32) . "@{$faker->freeEmailDomain}", 'support_phone' => $faker->phoneNumber, 'support_fax' => $faker->phoneNumber, 'support_url' => $faker->url(), ]; } }