Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
pterodactyl
GitHub Repository: pterodactyl/panel
Path: blob/1.0-develop/database/Factories/TaskFactory.php
7458 views
1
<?php
2
3
namespace Database\Factories;
4
5
use Illuminate\Database\Eloquent\Factories\Factory;
6
7
class TaskFactory extends Factory
8
{
9
/**
10
* Define the model's default state.
11
*/
12
public function definition(): array
13
{
14
return [
15
'sequence_id' => $this->faker->numberBetween(1, 10),
16
'action' => 'command',
17
'payload' => 'test command',
18
'time_offset' => 120,
19
'is_queued' => false,
20
];
21
}
22
}
23
24