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
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
5ccb7ce9bc
Update Cache Facade
2013-03-24 16:00:29 +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
Barry
b15e19a301
Fix links
2013-03-23 15:11:25 +01:00
Barry
bcde5334ba
Seperated generated file from package. Added --sublime option
...
This way the package will be updated less, and you don't have double IDE
helpers (in you vendor dir, and the generated version).
Also added a Sublimetext version, with different way of calling the root
class.
2013-03-23 15:07:57 +01:00
Barry
beed27073a
Fix IDE errors
...
Ahead of the master, but should be in sync when taylor merges the phpdoc
fixes.
2013-03-22 10:44:53 +01:00
Barry
3d6af79bf7
Small tweaks
2013-03-21 12:41:39 +01:00
Barry
87eb29e2cb
Fix default values when int
2013-03-21 12:30:52 +01:00
Barry
ec1b117cbd
Tweak behaviour of memory driver and small update
2013-03-21 10:55:25 +01:00
Barry
38da3b86cd
Detect facades automaticcaly
2013-03-20 15:17:05 +01:00
Barry
2baa475be0
Update some Facades to point to the real classes.
2013-03-19 14:15:21 +01:00
Barry
06315ef312
Updates for the translator functions
2013-03-19 13:12:22 +01:00
Barry vd. Heuvel
7dc2bc7c29
Update helpers
2013-03-16 13:44:31 +01:00
Barry
9a8c444af3
Update for composer changes
2013-03-13 13:07:03 +01:00
Barry
d371dfa5fb
Add namespaces
2013-03-13 13:04:16 +01:00
Barry
aad6d0ca7a
Added newline
2013-03-12 10:56:13 +01:00
Barry
c92eefbc3d
Add preload/compiled.php to helpers
2013-03-12 10:51:00 +01:00
Barry vd. Heuvel
f1aa8c6232
Update readme
2013-03-11 21:51:38 +01:00
Barry vd. Heuvel
9ca2450d10
Tweak helper behavior
...
Helper file not included by default, but can be enabled with the config
file. Default value can be overridden with the --helpers (-H) of
--nohelpers (-N) options.
2013-03-11 21:46:27 +01:00
Barry
7c8514ac51
Added helper file
2013-03-11 14:16:37 +01:00
Barry
c003b377de
Update description
2013-03-11 13:19:37 +01:00