Barry vd. Heuvel
4f31e98467
Remove non-static
2013-06-22 13:07:27 +02:00
Barry vd. Heuvel
fedae6542b
Change die (no more namespace)
2013-06-22 12:58:23 +02:00
Barry vd. Heuvel
e8b1c367d0
Remove namespaces
...
As they aren't used.
If anyone does use them, let me know!
2013-06-22 12:56:00 +02:00
Barry vd. Heuvel
66feb564e1
Refactor
2013-06-22 12:54:45 +02:00
Barry vd. Heuvel
15bf867658
Extend instead of redefining functions
...
For methods that are not a facade (like Eloquent/Controller), avoids
duplicate code and better autocomplete (also variables etc).
No more need for extra config settings, only the magic calls still.
2013-06-21 11:01:13 +02:00
Barry vd. Heuvel
c4de6e80c9
Remove nohelpers option
2013-06-18 15:45:10 +02:00
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
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
62deba4171
Make builder work for relations
...
Fixes #22
2013-06-04 14:12:47 +02:00
Barry vd. Heuvel
26f09bccbf
Throw error when compiled.php exists
2013-05-30 21:39:12 +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
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
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
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
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
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
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
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
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
Barry
c9ae3c8f70
Actually replace $root from config replaces
...
Fixes Issue #2
2013-04-03 12:59:16 +02:00
Barry
063e59895c
Extend the facade class
...
Fixes Issue #1
Only extended when it is not the same as the root class (because of
overriding static methods)
2013-04-01 19:15:48 +02:00
Barry
ec18f19777
Replace facades instead of aliases
...
More logical, because aliases are auto-detected. This way, the original
facade is also kept.
2013-04-01 19:03:57 +02:00
Barry
4b8597aa75
Use full namespaces
...
More inline with the rest of the phpdocs (and correct when in namespace)
2013-03-29 14:39:05 +01:00
Barry
14813b77b1
Catch errors, use default database driver
...
Catch errors from not working PDO connections etc.
Added the memory driver as option.
2013-03-26 10:20:39 +01:00
Barry
9a079e236d
Check if class/interface exists
...
Display error, but continue if not.
2013-03-24 15:59:41 +01:00
Barry
51a40659d6
Add sublime option to the config file
2013-03-23 15:32:15 +01:00