faker->unique()->words((int)$this->faker->randomFloat(0, 5, 6), true); return [ 'name' => $name, 'status' => $this->faker->boolean(70), 'sticker' => new \SplFileInfo(\resource_path( '../database/factories/assets/certifications/cert-sample.png' )), 'sticker_alt' => $this->faker->unique()->words((int)$this->faker->randomFloat(0, 5, 6), true), 'sticker_title' => $this->faker->unique()->words((int)$this->faker->randomFloat(0, 2, 4), true), ]; } }