Commit Graph
183 Commits
Author SHA1 Message Date
Barry vd. Heuvel 83d5fe048d Revert changes 2013-05-29 17:32:38 +02:00
Barry vd. Heuvel 77b1bc923e Set mapping for enum 2013-05-29 18:31:33 +03:00
Barry vd. Heuvel 9090aeb766 Catch getType
Hopefully fixes #19
2013-05-29 18:24:43 +03:00
Barry vd. Heuvel a5c16b0751 update readme 2013-05-29 10:28:23 +02:00
Barry vd. Heuvel 16b3b872a3 Update license (MIT)
To source/readme
v1.0.1
2013-05-29 10:24:30 +02:00
Barry vd. Heuvel 507775fda6 Update version in readme 2013-05-28 20:48:07 +02:00
Barry vd. Heuvel 83ab04be40 Update composer v1.0.0 2013-05-28 17:00:09 +02:00
Barry vd. Heuvel 8e0eace591 Specify version for new beta2 v1.0.0-beta2 2013-05-27 22:22:23 +02:00
Barry vd. Heuvel 9dbcaa15b1 More fixes 2013-05-27 21:23:52 +02:00
Barry vd. Heuvel edf418f9ac Refactor variables and better namespace support 2013-05-27 21:02:46 +02:00
Barry vd. Heuvel eb3c3a7fe3 Add namespace DocBlock context
So they can be expanded correctly
2013-05-27 20:45:04 +02:00
Barry vd. Heuvel fde71b0ee8 Use DocBlock Serializer
Instead of doing it here.
2013-05-26 23:10:09 +02:00
Barry vd. Heuvel 427295f993 Set phpdocumentor version v1.0.0-beta1 2013-05-23 21:49:37 +02:00
Barry vd. Heuvel 22dfb9fdb4 Get {@inheritdoc} from parent/interface
Better fix for #17
Should find the actual description and add the parameters to the helper
class.
2013-05-23 21:26:13 +02:00
Barry vd. Heuvel 0cc7f98516 Refactor and use phpDocumentor
Use the standard reflection methods for getting the methods, and use the
Reflection Docblock library from phpDocumentor (which seems more active
and more used)
2013-05-22 00:08:22 +02:00
Barry vd. Heuvel e20412534c Don't default return type to void
Should fix #17
2013-05-21 18:40:07 +02:00
Barry vd. Heuvel 12db549bd8 Add scope methods
Fixes #12
2013-05-20 22:49:21 +02:00
Barry vd. Heuvel 7c72ba7ee8 Merge pull request #14 from danielboendergaard/add-cache-extra-class
Added cache repository to extra classes
2013-05-13 02:29:48 -07:00
Barry vd. Heuvel 7433f40b7f Merge pull request #13 from danielboendergaard/root-count-bug
Fixed bug with several extra roots in extra classes
2013-05-13 02:29:28 -07:00
Daniel Bondergaard 5f8ec00e31 Added cache repository to extra classes
Signed-off-by: Daniel Bondergaard <[email protected]>
2013-05-13 10:51:17 +02:00
Daniel Bondergaard e68947460e Fixed bug with several extra roots in extra classes
Signed-off-by: Daniel Bondergaard <[email protected]>
2013-05-13 10:43:33 +02:00
Barry vd. Heuvel 73aaf16127 Fix alignment 2013-05-09 23:07:55 +02:00
Barry vd. Heuvel 4e6458cb34 Absolute namespace in properties
Again for #9 ;)
2013-05-09 23:01:43 +02:00
Barry vd. Heuvel 11ac602667 Fix namespaces for Models
Also described in #9
2013-05-09 22:42:05 +02:00
Barry vd. Heuvel 37d146cd6d Make non-static instead of skipping
So the parent functions are still accessible, without errors.
2013-05-09 22:09:29 +02:00
Barry vd. Heuvel 8f775f3a72 Fix sublime root
Fixed the new roots for Sublime.
2013-05-09 21:34:00 +02:00
Barry vd. Heuvel 101cf480b1 Refactor
Allow to include multiple classes instead of extending, so it is easier
to maintain.
Also added option to skip methods that don't belong in the facade helper
(fixes #9)
2013-05-09 21:30:13 +02:00
Barry vd. Heuvel 440dcb1d65 Merge pull request #10 from awellis13/patch-1
fixed a bug causing the model command to fail on methods that are not re...
2013-05-07 15:15:27 -07:00
Andrew Ellis 647ce69047 fixed a bug causing the model command to fail on methods that are not relationships 2013-05-07 15:53:19 -06:00
Barry vd. Heuvel b9a58e9d08 Determine relation type
Using reflection and parsing the sourcecode.
2013-05-07 10:34:29 +02:00
Barry vd. Heuvel 9d73371349 Extend Manager class for Auth and Cache
Probably not the best solution, but will do for now. Fixes #8
2013-05-07 10:05:34 +02:00
Barry vd. Heuvel 295b2adefa Work on static references
Reference the child class (your actual model), instead of the base
model, using static (same behaviour as $this).
2013-05-03 11:32:41 +02:00
Barry vd. Heuvel 47f60456f4 Change return values
Use Carbon by default, and allow Eloquent array (but should be changed
to the real models)
2013-05-03 11:31:56 +02:00
Barry vd. Heuvel 9410f00cb5 Use return $this for some Eloquent
So autocomplete uses the real model, not just the base Model. (Doesn't
seem to work on Sublime)
2013-04-29 16:21:57 +02:00
Barry vd. Heuvel e47f15c9fa Hide onlyExtend for sublime
Since the way Sublime files are created has changed, this is not needed
anymore.
2013-04-29 13:19:25 +02:00
Barry vd. Heuvel ceb47125f3 Update readme 2013-04-29 13:12:49 +02:00
Barry vd. Heuvel 3207a2f2cf Use Symfony classloader
Instead of copying it. (Same as the Composer autoloader)
2013-04-29 10:27:27 +02:00
Barry vd. Heuvel 6aa1225f32 Change default filename
Just lowercase
2013-04-29 10:17:58 +02:00
Barry vd. Heuvel 7160a37e49 Work on Model Docs
Use classmapper from composer and add some checks to make sure the class
exist.
Also, tweak argument/options and filename.
2013-04-29 10:16:33 +02:00
barryvdh 40d9dfd32c Merge pull request #7 from syphernl/patch-1
Check if array of methods is not empty
2013-04-28 08:33:46 -07:00
Frank 191f73c0f9 Update GeneratorCommand.php
Adds a check to prevent a foreach on an empty list of methods, which raises an Exception and stops generating the IDE Helper file.
2013-04-28 12:40:56 +03:00
Barry vd. Heuvel 1d26dfe58c Add initial version for model docs 2013-04-27 22:12:35 +02:00
Barry vd. Heuvel bde0f47db5 Add message about CodeIntel 2013-04-27 20:35:18 +02:00
Barry vd. Heuvel 8c8a92a8c7 Add author information 2013-04-27 20:29:21 +02:00
Barry vd. Heuvel 843fbc04c4 Extend eloquent from Query Builder
Fixes #6
Eloquent doesn't have the where() methods, and other query methods, but
resolves them with __call(). Extending the Builder class seems the most
appropriate solution.
2013-04-27 20:17:29 +02:00
Barry vd. Heuvel e1dac36be8 Change Sublime behaviour
More similar to the phpStorm approach
2013-04-27 20:05:44 +02:00
Barry 3d2934b62d small tweak 2013-04-09 13:27:26 +02:00
Barry 19be4666d1 Typo 2013-04-09 12:56:10 +02:00
Barry 80ec70ae9a Use Aliasloader instead of config
Use the AliasLoader from Laravel.
2013-04-09 12:55:58 +02:00
Barry 78af37be9a Tweak behavior for some classes
Just extend the Seeder class, because it isn't called static (Fixes
Issue #3)
2013-04-07 19:14:08 +02:00