File tree Expand file tree Collapse file tree 3 files changed +72
-0
lines changed
Expand file tree Collapse file tree 3 files changed +72
-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" : " app.brand" ,
6+ "name" : " Create Iconify Brand" ,
7+ "classSuffix" : " " ,
8+ "regex" : " .+" ,
9+ "files" : [
10+ {
11+ "appNamespace" : " Brands" ,
12+ "name" : " ${INPUT_CLASS|replace: ,_|className|upperCamelCase}.php" ,
13+ "template" : {
14+ "type" : " stub" ,
15+ "path" : " stubs/brand.stub" ,
16+ "parameters" : {
17+ "DummyNamespace" : " ${INPUT_FQN|namespace}" ,
18+ "DummyClass" : " ${INPUT_CLASS|replace: ,_|className|upperCamelCase}"
19+ }
20+ }
21+ }
22+ ]
23+ },
24+ {
25+ "id" : " app.ide" ,
26+ "name" : " Create Iconify IDE" ,
27+ "classSuffix" : " " ,
28+ "regex" : " .+" ,
29+ "files" : [
30+ {
31+ "appNamespace" : " Ide" ,
32+ "name" : " ${INPUT_CLASS|replace: ,_|className|upperCamelCase}.php" ,
33+ "template" : {
34+ "type" : " stub" ,
35+ "path" : " stubs/ide.stub" ,
36+ "parameters" : {
37+ "DummyNamespace" : " ${INPUT_FQN|namespace}" ,
38+ "DummyClass" : " ${INPUT_CLASS|replace: ,_|className|upperCamelCase}"
39+ }
40+ }
41+ }
42+ ]
43+ }
44+ ]
45+ }
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ declare(strict_types=1);
4+
5+ namespace DummyNamespace;
6+
7+ use DragonCode\IconifyIde\Brands\Brand;
8+
9+ class DummyClass extends Brand
10+ {
11+ protected array $projects = [
12+ 'laravel/framework',
13+ 'dragon-code/*',
14+ ];
15+ }
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ declare(strict_types=1);
4+
5+ namespace DummyNamespace;
6+
7+ use DragonCode\IconifyIde\Ide\Ide;
8+
9+ class DummyClass extends Ide
10+ {
11+ protected string $folder = '.idea';
12+ }
You can’t perform that action at this time.
0 commit comments