forked from bestmomo/laravel5-5-example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_ide_helper_models.php
87 lines (78 loc) · 2.37 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
<?php
/**
* 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\Category
*
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\Post[] $posts
*/
class Category extends \Eloquent {}
}
namespace App\Models{
/**
* App\Models\Comment
*
* @property-read \Baum\Extensions\Eloquent\Collection|\App\Models\Comment[] $children
* @property-read \App\Models\Ingoing $ingoing
* @property-read \App\Models\Comment $parent
* @property-read \App\Models\User $user
* @method static \Illuminate\Database\Eloquent\Builder|\Baum\Node limitDepth($limit)
* @method static \Illuminate\Database\Eloquent\Builder|\Baum\Node withoutNode($node)
* @method static \Illuminate\Database\Eloquent\Builder|\Baum\Node withoutRoot()
* @method static \Illuminate\Database\Eloquent\Builder|\Baum\Node withoutSelf()
*/
class Comment extends \Eloquent {}
}
namespace App\Models{
/**
* App\Models\Contact
*
* @property-read \App\Models\Ingoing $ingoing
*/
class Contact extends \Eloquent {}
}
namespace App\Models{
/**
* App\Models\Ingoing
*
* @property-read \Illuminate\Database\Eloquent\Model|\Eloquent $ingoing
*/
class Ingoing extends \Eloquent {}
}
namespace App\Models{
/**
* App\Models\Post
*
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\Category[] $categories
* @property-read \Baum\Extensions\Eloquent\Collection|\App\Models\Comment[] $comments
* @property-read \App\Models\Ingoing $ingoing
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\Tag[] $tags
* @property-read \App\Models\User $user
*/
class Post extends \Eloquent {}
}
namespace App\Models{
/**
* App\Models\Tag
*
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\Post[] $posts
*/
class Tag extends \Eloquent {}
}
namespace App\Models{
/**
* App\Models\User
*
* @property-read \Baum\Extensions\Eloquent\Collection|\App\Models\Comment[] $comments
* @property-read \App\Models\Ingoing $ingoing
* @property-read \Illuminate\Notifications\DatabaseNotificationCollection|\Illuminate\Notifications\DatabaseNotification[] $notifications
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\Post[] $posts
*/
class User extends \Eloquent {}
}