Commit feea329
committed
added docblocks and comments about the fluent syntax to the crud-controller stub
I don't really like how this makes the controller look - it makes it quite messy. But I imagine the added comments will be VERY useful to first-time Backpack users, and to users who have upgraded to 4.1 without knowing about the new fluent syntax. The links to the operations make it additionally messy, but those too should be very useful - just one click and go the operation docs. While very useful, I really don't like the end result though, so in a future version I plan to make the comments & docblocks configurable. Personally I'll probably be removing them from all my controllers, as soon as it's generated. I'm open to suggestions and opinions about these comments - how we can both make it easy to understand AND make it cleaner.1 parent 71f20ad commit feea329
1 file changed
+35
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
22 | 27 | | |
23 | 28 | | |
24 | 29 | | |
25 | 30 | | |
26 | 31 | | |
27 | 32 | | |
28 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
29 | 40 | | |
30 | 41 | | |
31 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
32 | 49 | | |
33 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
34 | 57 | | |
35 | 58 | | |
36 | 59 | | |
37 | 60 | | |
38 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
39 | 68 | | |
40 | 69 | | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
41 | 76 | | |
42 | 77 | | |
43 | 78 | | |
| |||
0 commit comments