| Total Complexity | 2 |
| Total Lines | 42 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 9 | class TrackActivityFactory extends Factory |
||
| 10 | { |
||
| 11 | use ModelChanges; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * The name of the factory's corresponding model. |
||
| 15 | * |
||
| 16 | * @var string |
||
| 17 | */ |
||
| 18 | protected $model = TrackActivity::class; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Define the model's default state. |
||
| 22 | * |
||
| 23 | * @return array |
||
| 24 | */ |
||
| 25 | public function definition(): array |
||
| 37 | ]; |
||
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * Retrieve an array of 'route' that can be used as random elements. |
||
| 42 | * |
||
| 43 | * @return string |
||
| 44 | */ |
||
| 45 | protected function route(): string |
||
| 53 |