-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path_ide_helper_models.php
More file actions
137 lines (129 loc) · 5.85 KB
/
_ide_helper_models.php
File metadata and controls
137 lines (129 loc) · 5.85 KB
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
<?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{
/**
* Represents a package that is part of the app's Composer repository.
*
* @property string $name
* @property string $description
* @property \Carbon\Carbon $lastModified
* @property string $source
* @property string $repo
* @property string $commit
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\Dependency[] $allDependencies
* @property-read int|null $allDependenciesCount
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\Dependency[] $dependants
* @property-read int|null $dependantsCount
* @property-read mixed $allDependencies
* @property-read mixed $dependencies
* @property-read mixed $devDependencies
* @property-read string $githubRepo
* @property-read mixed $githubUrl
* @property-read \App\Models\Group|null $group
* @property-read bool $hasGroup
* @property-read bool $hasPreRelease
* @property-read bool $hasStableRelease
* @property-read \App\Models\Release|null $head
* @property-read mixed $installCommand
* @property-read \App\Models\Release|null $latestRelease
* @property-read \App\Models\Release|null $latestStableRelease
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\Release[] $releases
* @property-read string|null $shortName
* @property-read mixed $url
* @property-read string|null $vendor
* @property-read int|null $releasesCount
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Package newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Package newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Package query()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Package whereCommit($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Package whereDescription($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Package whereLastModified($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Package whereName($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Package whereRepo($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Package whereSource($value)
*/
class Package extends \Eloquent {}
}
namespace App\Models{
/**
* An entity required by a package, idenitfied by a name and a version.
*
* Can be a dependency package, a dev dependency package or a
* required PHP version or PHP module like "ext-mb".
*
* @property string $package
* @property string $dependency
* @property string $constraint
* @property bool $dev
* @property-read \App\Models\Package $dependentPackage
* @property-read mixed $name
* @property-read string|null $shortName
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Dependency newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Dependency newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Dependency query()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Dependency whereConstraint($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Dependency whereDependency($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Dependency whereDev($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Dependency wherePackage($value)
*/
class Dependency extends \Eloquent {}
}
namespace App\Models{
/**
* A release points to a certain commit of a package.
*
* It may tagged as a stable ("0.6.2") or unstable ("1.0.4-beta.3")
* semver release or point to a branch ("dev-master").
*
* @property Version $version
* @property string $name
* @property string $commit
* @property \Illuminate\Support\Carbon $time
* @property-read mixed $fullCommit
* @property-read mixed $index
* @property-read mixed $next
* @property-read mixed $nextStable
* @property-read \App\Models\Package $package
* @property-read mixed $previous
* @property-read mixed $previousStable
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Release newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Release newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Release query()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Release whereCommit($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Release whereName($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Release whereTime($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Release whereVersion($value)
*/
class Release extends \Eloquent {}
}
namespace App\Models\Helpers{
/**
* A Model which caches get*Attribute() accessor results for all
* attributes listed in its $memoize property.
*
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Helpers\MemoizingModel newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Helpers\MemoizingModel newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Helpers\MemoizingModel query()
*/
class MemoizingModel extends \Eloquent {}
}
namespace App\Models{
/**
* Represents an unknown user.
*
* This is needed because Laravel authentication
* requires to always return a user object on success.
*
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnonymousUser newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnonymousUser newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnonymousUser query()
*/
class AnonymousUser extends \Eloquent {}
}