Commit Graph
69 Commits
Author SHA1 Message Date
Barry vd. Heuvel 83ab04be40 Update composer 2013-05-28 17:00:09 +02:00
Barry vd. Heuvel 8e0eace591 Specify version for new 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 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 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 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
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
Barry 267885de17 Updated readme 2013-03-11 13:06:00 +01:00
Barry dfaeff52e5 Link to original functions
For faster displaying of the real function implementation.
2013-03-11 12:32:05 +01:00
Barry vd. Heuvel 7c46501145 Fix namespacing / package name 2013-03-10 10:28:10 +01:00
Barry vd. Heuvel 6909c6131e Filter public methods and allow inheritance. 2013-03-10 01:38:34 +01:00
Barry vd. Heuvel 6b30c504bf Remove .gitkeep from config 2013-03-10 01:24:08 +01:00
Barry vd. Heuvel 2c53121ef9 Update readme 2013-03-10 01:16:47 +01:00
Barry vd. Heuvel 6dea46ff3e Initial commit 2013-03-10 01:07:57 +01:00