예제 #1
0
 public function getDummyData(Generator $faker, array $valoresPersonalizados = array())
 {
     return ['nombres' => $faker->firstName, 'apellidos' => $faker->lastName, 'telefono' => '5' . $faker->randomNumber($nbDigits = 6), 'celular' => '9' . $faker->randomNumber($nbDigits = 8), 'direccion' => $faker->streetAddress, 'year' => $faker->randomDigit($nbDigits = 6), 'orden_merito' => $faker->numberBetween($min = 2, $max = 10), 'usuario_id' => $this->getRandom('Usuario')->id];
 }