File tree Expand file tree Collapse file tree 2 files changed +24
-23
lines changed Expand file tree Collapse file tree 2 files changed +24
-23
lines changed Original file line number Diff line number Diff line change @@ -64,30 +64,7 @@ public function handle()
64
64
}
65
65
66
66
$ contents = "<?php
67
- namespace App\NotionModels;
68
67
69
- use FiveamCode\LaravelNotionApi\Models\NotionModel;
70
-
71
- /**
72
- {$ phpDocsProperties }*/
73
- class {$ databaseName } extends NotionModel
74
- {
75
- public static \$databaseId = ' {$ databaseId }';
76
-
77
- public static \$cacheDurationInSeconds = 0;
78
-
79
- public static \$convertPropsToText = false;
80
-
81
- public static \$visible = [
82
- $ visibleArray ];
83
-
84
- public static \$propertyTypeMap = [
85
- $ propertyTypeMape ];
86
-
87
- public static \$propertyTitleMap = [
88
- $ propertyTitleMap ];
89
-
90
- }
91
68
92
69
" ;
93
70
File::ensureDirectoryExists ('app/NotionModels ' );
Original file line number Diff line number Diff line change
1
+ namespace App\NotionModels;
2
+
3
+ use FiveamCode\LaravelNotionApi\Models\NotionModel;
4
+
5
+ /**
6
+ {{ $phpDocsProperties } } */
7
+ class {{ $databaseName } } extends NotionModel
8
+ {
9
+ public static $databaseId = '{{ $databaseId } } ';
10
+
11
+ public static $cacheDurationInSeconds = 0;
12
+
13
+ public static $convertPropsToText = false;
14
+
15
+ public static $visible = [
16
+ {{ $visibleArray } } ];
17
+
18
+ public static $propertyTypeMap = [
19
+ {{ $propertyTypeMape } } ];
20
+
21
+ public static $propertyTitleMap = [
22
+ {{ $propertyTitleMap } } ];
23
+
24
+ }
You can’t perform that action at this time.
0 commit comments