1 | <?php |
||
8 | class Mail extends ChocolateyModel |
||
9 | { |
||
10 | /** |
||
11 | * The table associated with the model. |
||
12 | * |
||
13 | * @var string |
||
14 | */ |
||
15 | protected $table = 'chocolatey_users_mail_requests'; |
||
16 | |||
17 | /** |
||
18 | * Primary Key of the Table. |
||
19 | * |
||
20 | * @var string |
||
21 | */ |
||
22 | protected $primaryKey = 'id'; |
||
23 | |||
24 | /** |
||
25 | * The attributes that are mass assignable. |
||
26 | * |
||
27 | * @var array |
||
28 | */ |
||
29 | protected $fillable = ['used']; |
||
30 | |||
31 | /** |
||
32 | * Store a Mail Request. |
||
33 | * |
||
34 | * @param string $token |
||
35 | * @param string $link |
||
36 | * @param string $userMail |
||
37 | * |
||
38 | * @return Mail |
||
39 | */ |
||
40 | public function store(string $token, string $link, string $userMail): Mail |
||
50 | } |
||
51 |