You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
482 B
28 lines
482 B
<?php
|
|
|
|
namespace {{ factoryNamespace }};
|
|
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
use {{ namespacedModel }};
|
|
|
|
class {{ factory }}Factory extends Factory
|
|
{
|
|
/**
|
|
* The name of the factory's corresponding model.
|
|
*
|
|
* @var string
|
|
*/
|
|
protected $model = {{ model }}::class;
|
|
|
|
/**
|
|
* Define the model's default state.
|
|
*
|
|
* @return array
|
|
*/
|
|
public function definition()
|
|
{
|
|
return [
|
|
//
|
|
];
|
|
}
|
|
}
|
|
|