Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
9 | public function create(): void |
||
10 | { |
||
11 | $table = "users"; |
||
12 | $fields = [ |
||
13 | "name" => "Admin", |
||
14 | "email" => "[email protected]", |
||
15 | "password" => Auth::bcrypt('password'), |
||
16 | "role" => "admin", |
||
17 | "status" => 1, |
||
18 | ]; |
||
19 | |||
20 | $this->execute($table, $fields); |
||
21 | } |
||
23 |