Barry vd. Heuvel
56f89502e3
Tweak relation object
...
Tweaks #273
2015-10-19 09:31:08 +02:00
Kevin Laude
e48974e545
Add custom collection support
...
Add support for models that override Eloquent's newCollection() with a
custom collection type. Do this by executing the relationship on the
model then executing that relationship's newCollection() method to see
what type of colletion class is returned.
Remove the now-unused
Barryvdh\LaravelIdeHelper\Console\ModelsCommand::getClassName() method.
2015-10-18 20:54:25 -05:00
Barry vd. Heuvel
38a97cf07c
Swap facade/alias
...
See #202
2015-08-18 10:57:06 +02:00
Mahmut Bayri
5d4056fe87
Trim tag text. If tag doesn't have comment or the comment has any space at the end of line, phpcs (with --standard=PSR2) dedects an error.
2015-08-13 13:42:10 +03:00
Barry vd. Heuvel
78d233fea7
Skip validator
2015-08-10 21:01:41 +02:00
Barry vd. Heuvel
0d13a51ff5
Use preset list of aliases in Lumen
2015-08-10 21:00:31 +02:00
Barry vd. Heuvel
326e8ea25f
Bring back changes
...
Missed them from previous commit
2015-08-10 20:38:57 +02:00
Barry vd. Heuvel
e7ee934bb1
Inject filesystem
2015-08-10 20:36:00 +02:00
Barry vd. Heuvel
99953adb73
Inject filesystem instance
2015-08-10 20:35:04 +02:00
Barry vd. Heuvel
0d333c6228
Check for config_path (Lumen)
...
For #202
2015-08-10 20:23:56 +02:00
bebnev
dc62d35bed
fix parsing relations arguments
2015-08-09 15:28:04 +03:00
bebnev
76674be735
fix model docBlocks duplicates
...
Add each parsed model to ignore list, so if it exists more than once it will not be parsed twice.
2015-08-01 17:13:43 +04:00
Barry vd. Heuvel
3a4671f3ea
Update meta file
2015-06-18 14:58:06 +02:00
Barry vd. Heuvel
8515b7ac0b
Use verbosity to hide some errors
2015-06-18 09:11:05 +02:00
Barry vd. Heuvel
541b9508e2
Update compiled locations
2015-06-11 16:11:52 +02:00
Barry vd. Heuvel
bb3bba2c5b
Catch non-existant class fatal exceptions
...
Add autoloader that throws an error, so we can catch errors instead of fatal crashes.
Fixes #220
2015-06-08 09:04:31 +02:00
Barry vd. Heuvel
89b585b242
Merge pull request #212 from modder2/modder2-patch-1
...
Bug fix with model relations
2015-05-15 12:26:15 +02:00
Alexander
f5b1248a37
Bug fix with model relations
...
If relation has other methods, generating doc is fail.
E.g.
$this->belongsToMany('App\User')->withTimestamps();
generate this:
@property-read \Illuminate\Database\Eloquent\Collection|\App\User')->withTimestamps([] $drinks
2015-05-14 14:44:54 +03:00
MrCue
a861bcaf1b
Update ModelsCommand.php
...
Work with tables in different databases
2015-05-13 16:46:47 +01:00
Barry vd. Heuvel
bb3bd2645d
Merge pull request #190 from MalikinSergey/patch-1
...
Add Query\Builder return type to magic scope* methods
2015-05-06 12:08:42 +02:00
Barry vd. Heuvel
687a8c9b47
Merge pull request #178 from fhteam/master_custom_types_support
...
Custom database types support for L5 branch
2015-05-06 12:02:57 +02:00
Malikin Sergey
1d3a98f0e5
Add Query\Builder return type to magic scope* methods
2015-03-29 13:30:50 +03:00
Barry vd. Heuvel
f518de4ae1
Filter abstracts for common errors
...
Fixes #184
2015-03-17 08:57:14 +01:00
Barry vd. Heuvel
765a274c05
More methods
2015-03-16 14:26:28 +01:00
Barry vd. Heuvel
b6a5262f3b
TWeak meta methods
2015-03-16 14:14:57 +01:00
Barry vd. Heuvel
683ed695a5
Fix views
2015-03-16 12:59:27 +01:00
Barry vd. Heuvel
f8c4d4e77a
Fix class imports
2015-03-16 12:52:48 +01:00
Barry vd. Heuvel
70c06f5b37
Add meta command for phpstorm
2015-03-16 12:14:15 +01:00
Vladislav Rastrusny
8378f1bd67
Adding custom DB types support for models
2015-03-03 13:02:47 +03:00
flynsarmy
fb3280eaff
Add support for October CMS config
2015-02-12 19:03:29 +10:00
Barry vd. Heuvel
317ef794a5
Check for correct facades
2015-02-04 09:12:01 +01:00
Barry vd. Heuvel
5c846ca16a
Merge pull request #155 from Flynsarmy/authMethodExists
...
Check for driver method on Auth facade
2015-02-04 07:41:52 +01:00
Barry vd. Heuvel
8f0d346eaa
Tweak config
2015-02-03 20:57:49 +01:00
Barry vd. Heuvel
73003c0bea
Swap resource arguments
2015-01-29 08:13:38 +01:00
Barry vd. Heuvel
f12c785688
Skip Redis if not available
2015-01-28 10:04:48 +01:00
Barry vd. Heuvel
ab50c245d0
Update config/resources for L5
2015-01-28 09:34:45 +01:00
flynsarmy
ab85ca4c5a
Check for driver method on Auth facade
2015-01-28 14:31:20 +10:00
Barry vd. Heuvel
7bc74b1844
CS tweaks
2015-01-21 11:22:44 +01:00
Barry vd. Heuvel
cfa0333446
Tweak quotes for doctrine warning
2015-01-21 11:10:03 +01:00
Barry vd. Heuvel
5c6fa1d43f
Merge pull request #148 from BaldaI/fix-relations
...
Fixed class name resolution via get_class() and static::class.
2015-01-21 11:05:40 +01:00
Barry vd. Heuvel
23db0e06ca
Merge pull request #150 from qufo/patch-1
...
Update ModelsCommand.php , Add COMMENT info.
2015-01-21 11:03:33 +01:00
Barry vd. Heuvel
52b3accd70
Use laravel instance instead of App facade
...
Addition to #138
2015-01-21 11:01:29 +01:00
Barry vd. Heuvel
cc07cd3b2c
Merge pull request #138 from SebSept/patch-1
...
Model doc : create model using App::make($name)
2015-01-21 11:00:26 +01:00
qufo
3113f58f45
Update ModelsCommand.php , Add COMMENT info.
...
When define a class(table) , we will add some comment information to the property (field), the comment information was useful for coder who has bad memory.so ,I think we'd better show the comment at the end of * @property line.
I'm a Chinese, most of my team was Chinese too, the comment information was written by Chinese, so , it's helpful!
-------------------------
当我们定义一个类(表)的时候,我们会给对象(字段)加上一些注释信息,这些注释信息对记忆力不好的程序员很有用,所以我认为我们可以在属性行的尾部加入注释信息
我是个中国人,我团队中的大部分人也是中国人,这些注释信息是中文写的,对他们很有帮助。
2015-01-08 17:28:00 +08:00
BaldaI
d00dc62ed6
Fixed class name resolution via get_class() and static::class.
2015-01-01 13:58:32 +10:00
S. Zain Mehdi
5d4af73c29
Fixed class name resolution via ::class (#143,#129)
2014-12-19 11:26:42 -08:00
Philip Keighley
231e125821
Fix typo in ModelsCommand.php . Fixes #141
2014-12-17 10:28:07 -05:00
Barry vd. Heuvel
f446326967
Add fallback package method
...
For L5
2014-12-16 14:10:07 +01:00
Sébastien Monterisi
57dc033061
Model doc : create model using App::make($name)
...
trying to generate doc for a model with dependencies in constructor will fail with `new $name` .
Now it works using App:make($name).
Laravel IOC resolves the dependencies.
2014-12-06 23:04:58 +01:00
Barry vd. Heuvel
e2b59c6cb5
Use config the get User model
...
See #136
2014-11-29 13:11:10 +01:00