-
Notifications
You must be signed in to change notification settings - Fork 0
/
_ide_helper_models.php
117 lines (111 loc) · 5.78 KB
/
_ide_helper_models.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<?php
// @formatter:off
// phpcs:ignoreFile
/**
* A helper file for your Eloquent Models
* Copy the phpDocs from this file to the correct Model,
* And remove them from this file, to prevent double declarations.
*
* @author Barry vd. Heuvel <[email protected]>
*/
namespace App\Models{
/**
*
*
* @property int $id
* @property int $user_id
* @property int|null $token_id
* @property string $path
* @property string $method
* @property string $user_agent
* @property string|null $ip
* @property \Illuminate\Support\Carbon $created_at
* @property-read \App\Models\PersonalAccessToken|null $token
* @property-read \App\Models\User|null $user
* @method static \Illuminate\Database\Eloquent\Builder|ApiRequest newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|ApiRequest newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|ApiRequest query()
* @method static \Illuminate\Database\Eloquent\Builder|ApiRequest whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|ApiRequest whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|ApiRequest whereIp($value)
* @method static \Illuminate\Database\Eloquent\Builder|ApiRequest whereMethod($value)
* @method static \Illuminate\Database\Eloquent\Builder|ApiRequest wherePath($value)
* @method static \Illuminate\Database\Eloquent\Builder|ApiRequest whereTokenId($value)
* @method static \Illuminate\Database\Eloquent\Builder|ApiRequest whereUserAgent($value)
* @method static \Illuminate\Database\Eloquent\Builder|ApiRequest whereUserId($value)
*/
class ApiRequest extends \Eloquent {}
}
namespace App\Models{
/**
*
*
* @property int $id
* @property string $tokenable_type
* @property int $tokenable_id
* @property string $name
* @property string $token
* @property array|null $abilities
* @property \Illuminate\Support\Carbon|null $last_used_at
* @property \Illuminate\Support\Carbon|null $expires_at
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\ApiRequest> $apiRequests
* @property-read int|null $api_requests_count
* @property-read \Illuminate\Database\Eloquent\Model|\Eloquent $tokenable
* @method static \Illuminate\Database\Eloquent\Builder|PersonalAccessToken newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|PersonalAccessToken newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|PersonalAccessToken query()
* @method static \Illuminate\Database\Eloquent\Builder|PersonalAccessToken whereAbilities($value)
* @method static \Illuminate\Database\Eloquent\Builder|PersonalAccessToken whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|PersonalAccessToken whereExpiresAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|PersonalAccessToken whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|PersonalAccessToken whereLastUsedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|PersonalAccessToken whereName($value)
* @method static \Illuminate\Database\Eloquent\Builder|PersonalAccessToken whereToken($value)
* @method static \Illuminate\Database\Eloquent\Builder|PersonalAccessToken whereTokenableId($value)
* @method static \Illuminate\Database\Eloquent\Builder|PersonalAccessToken whereTokenableType($value)
* @method static \Illuminate\Database\Eloquent\Builder|PersonalAccessToken whereUpdatedAt($value)
*/
class PersonalAccessToken extends \Eloquent {}
}
namespace App\Models{
/**
*
*
* @property int $id
* @property string $email
* @property mixed $password
* @property bool $is_admin
* @property array|null $abilities
* @property string|null $remember_token
* @property \Illuminate\Support\Carbon|null $active_at
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property \Illuminate\Support\Carbon|null $deleted_at
* @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\ApiRequest> $apiRequests
* @property-read int|null $api_requests_count
* @property-read \Illuminate\Notifications\DatabaseNotificationCollection<int, \Illuminate\Notifications\DatabaseNotification> $notifications
* @property-read int|null $notifications_count
* @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\PersonalAccessToken> $tokens
* @property-read int|null $tokens_count
* @method static \Database\Factories\UserFactory factory($count = null, $state = [])
* @method static \Illuminate\Database\Eloquent\Builder|User newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|User newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|User onlyTrashed()
* @method static \Illuminate\Database\Eloquent\Builder|User query()
* @method static \Illuminate\Database\Eloquent\Builder|User whereAbilities($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereActiveAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereDeletedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereEmail($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereIsAdmin($value)
* @method static \Illuminate\Database\Eloquent\Builder|User wherePassword($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereRememberToken($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|User withTrashed()
* @method static \Illuminate\Database\Eloquent\Builder|User withoutTrashed()
*/
class User extends \Eloquent {}
}