-
Notifications
You must be signed in to change notification settings - Fork 0
/
_ide_helper_models.php
142 lines (134 loc) · 6.35 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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
<?php
// @formatter:off
/**
* 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 <barryvdh@gmail.com>
*/
namespace App\Models{
/**
* App\Models\About
*
* @property int $id
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @method static \Database\Factories\AboutFactory factory(...$parameters)
* @method static \Illuminate\Database\Eloquent\Builder|About newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|About newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|About query()
* @method static \Illuminate\Database\Eloquent\Builder|About whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|About whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|About whereUpdatedAt($value)
*/
class About extends \Eloquent {}
}
namespace App\Models{
/**
* App\Models\Category
*
* @property int $id
* @property string $name
* @property string $slug
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\Post[] $posts
* @property-read int|null $posts_count
* @method static \Database\Factories\CategoryFactory factory(...$parameters)
* @method static \Illuminate\Database\Eloquent\Builder|Category newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Category newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Category query()
* @method static \Illuminate\Database\Eloquent\Builder|Category whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Category whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Category whereName($value)
* @method static \Illuminate\Database\Eloquent\Builder|Category whereSlug($value)
* @method static \Illuminate\Database\Eloquent\Builder|Category whereUpdatedAt($value)
*/
class Category extends \Eloquent {}
}
namespace App\Models{
/**
* App\Models\Home
*
* @property int $id
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @method static \Illuminate\Database\Eloquent\Builder|Home newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Home newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Home query()
* @method static \Illuminate\Database\Eloquent\Builder|Home whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Home whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Home whereUpdatedAt($value)
*/
class Home extends \Eloquent {}
}
namespace App\Models{
/**
* App\Models\Post
*
* @property int $id
* @property int $category_id
* @property int $user_id
* @property string $title
* @property string $slug
* @property string $excerpt
* @property string $body
* @property string|null $publish_at
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property-read \App\Models\User|null $author
* @property-read \App\Models\Category|null $category
* @method static \Database\Factories\PostFactory factory(...$parameters)
* @method static \Illuminate\Database\Eloquent\Builder|Post filter(array $filters)
* @method static \Illuminate\Database\Eloquent\Builder|Post newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Post newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Post query()
* @method static \Illuminate\Database\Eloquent\Builder|Post whereBody($value)
* @method static \Illuminate\Database\Eloquent\Builder|Post whereCategoryId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Post whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Post whereExcerpt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Post whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Post wherePublishAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Post whereSlug($value)
* @method static \Illuminate\Database\Eloquent\Builder|Post whereTitle($value)
* @method static \Illuminate\Database\Eloquent\Builder|Post whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Post whereUserId($value)
*/
class Post extends \Eloquent {}
}
namespace App\Models{
/**
* App\Models\User
*
* @property int $id
* @property string $name
* @property string $email
* @property string $username
* @property \Illuminate\Support\Carbon|null $email_verified_at
* @property string $password
* @property string|null $remember_token
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property-read \Illuminate\Notifications\DatabaseNotificationCollection|\Illuminate\Notifications\DatabaseNotification[] $notifications
* @property-read int|null $notifications_count
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\Post[] $posts
* @property-read int|null $posts_count
* @property-read \Illuminate\Database\Eloquent\Collection|\Laravel\Sanctum\PersonalAccessToken[] $tokens
* @property-read int|null $tokens_count
* @method static \Database\Factories\UserFactory factory(...$parameters)
* @method static \Illuminate\Database\Eloquent\Builder|User newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|User newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|User query()
* @method static \Illuminate\Database\Eloquent\Builder|User whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereEmail($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereEmailVerifiedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|User whereName($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 whereUsername($value)
*/
class User extends \Eloquent {}
}