Barry vd. Heuvel
e7ee934bb1
Inject filesystem
2015-08-10 20:36:00 +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
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
ab50c245d0
Update config/resources for L5
2015-01-28 09:34:45 +01: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
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
736f2f387e
Remove verbose comments
...
Just show when it's actually a Model, not every class (for L5
especially). See #135
2014-11-29 12:53:37 +01:00
Jan-Christoph Ihrens
10e16a0bdc
Removed space after "@method static ..."
...
According to PSR-2, "there MUST NOT be trailing whitespace at the end of non-blank lines" (http://www.php-fig.org/psr/psr-2/ ). My IDE is checking for this, and I always have to remove the spaces manually... ;-)
2014-09-03 08:51:03 +02:00
Barry vd. Heuvel
6c18c3f39a
Add json format
2014-08-19 09:49:07 +02:00
Barry vd. Heuvel
fd11d89fa7
Clarify trait/interface message in model generator
...
Makes it clear why a trait/interface is skipped.
Fixes #98
2014-08-11 11:01:19 +02:00
Barry vd. Heuvel
e9bc9347cc
Cleanup
2014-08-06 19:27:22 +02:00
Barry vd. Heuvel
f29e6037c0
Work on interfaces
2014-08-06 12:29:26 +02:00
Barry vd. Heuvel
8193fa0763
Big refactor
2014-08-06 00:02:00 +02:00
Barry vd. Heuvel
3151019947
Use PSR-4
2014-08-05 20:06:07 +02:00