File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "$schema" : " https://laravel-ide.com/schema/laravel-ide-v2.json" ,
3
+ "codeGenerations" : [
4
+ {
5
+ "id" : " dragon-code.create-action" ,
6
+ "name" : " Create Migration Action" ,
7
+ "inputFilter" : " migration" ,
8
+ "files" : [
9
+ {
10
+ "directory" : " /database/actions" ,
11
+ "name" : " ${CURRENT_TIME|format:yyyy_MM_dd_HHmmss}_${INPUT_CLASS|className|snakeCase}.php" ,
12
+ "template" : {
13
+ "type" : " stub" ,
14
+ "path" : " resources/stubs/action-named.stub" ,
15
+ "parameters" : {
16
+ "DummyClass" : " ${INPUT_FQN|className}"
17
+ }
18
+ }
19
+ }
20
+ ]
21
+ },
22
+ {
23
+ "id" : " dragon-code.create-anonymous-action" ,
24
+ "name" : " Create Anonymous Migration Action" ,
25
+ "inputFilter" : " migration" ,
26
+ "files" : [
27
+ {
28
+ "directory" : " /database/actions" ,
29
+ "name" : " ${CURRENT_TIME|format:yyyy_MM_dd_HHmmss}_${INPUT_CLASS|className|snakeCase}.php" ,
30
+ "template" : {
31
+ "type" : " stub" ,
32
+ "path" : " resources/stubs/action-anonymous.stub"
33
+ }
34
+ }
35
+ ]
36
+ }
37
+ ]
38
+ }
You can’t perform that action at this time.
0 commit comments