Barry vd. Heuvel
6f03c4c5ff
Move some logic to ReflectionDocblock
2013-06-09 14:17:24 +02:00
Barry vd. Heuvel
8db4443879
Use fork of ReflectionDocblock
...
So I can use a stable version.. Fixes #21
2013-06-08 13:02:28 +02:00
Barry vd. Heuvel
1d01f5b278
Update Eloquent Builder
2013-06-07 12:26:54 +02:00
Barry vd. Heuvel
bbbdd02708
Refactor and add comments
2013-06-07 11:26:57 +02:00
Barry vd. Heuvel
ce4e9804ef
Use full namespace
2013-06-06 13:48:53 +02:00
Barry vd. Heuvel
12845b38f0
Use declaring class
...
When function is inherited, link to the original class.
2013-06-06 13:45:32 +02:00
Barry vd. Heuvel
0b3b8b95cd
Merge sublime and netbeans/phpstorm
...
Gives some warnings for phpStorm, but only in the helper file, so
doesn't affect the autocomplete / warnings in application code.
2013-06-06 13:45:05 +02:00
Barry vd. Heuvel
2ee05260d5
Simplify sublime output
2013-06-06 13:19:15 +02:00
Barry vd. Heuvel
ec302acc3f
Make __construct return @self
2013-06-05 17:45:24 +02:00
Barry vd. Heuvel
e0b47835f4
roll back static for relations
2013-06-04 15:36:39 +02:00
Barry vd. Heuvel
a0f6a370e1
Tweak return values
2013-06-04 15:34:56 +02:00
Barry vd. Heuvel
77c8bfa05a
Fix default model path
2013-06-04 14:46:18 +02:00
Barry vd. Heuvel
62deba4171
Make builder work for relations
...
Fixes #22
2013-06-04 14:12:47 +02:00
Barry vd. Heuvel
32918908fc
Add delete to non-static methods
2013-06-04 14:12:23 +02:00
Barry vd. Heuvel
cca1b5896e
Only allow relative path
2013-05-30 21:26:02 +02:00
Barry vd. Heuvel
3afc4a3ade
Add dir option and fix namespace for models
2013-05-30 21:22:00 +02:00
Barry vd. Heuvel
26f09bccbf
Throw error when compiled.php exists
2013-05-30 21:39:12 +03:00
Barry vd. Heuvel
a4ab0a5969
Allow writing directly to models
2013-05-30 12:45:26 +02:00
Barry vd. Heuvel
b0b324b8cc
Use reflection and reflectiondocblock
...
Load the original docblock and append the changes. This way, you can
just copy the new comments in whole (next step, replace in file..)
2013-05-30 11:54:45 +02:00
Barry vd. Heuvel
dab594804b
Map enum to string
...
Fixes #19
2013-05-30 10:15:56 +02:00
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
16b3b872a3
Update license (MIT)
...
To source/readme
2013-05-29 10:24:30 +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
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
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
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
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