We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96cdaf0 commit ab7aa61Copy full SHA for ab7aa61
Casts.sublime-snippet
@@ -0,0 +1,15 @@
1
+<snippet>
2
+ <tabTrigger>casts</tabTrigger>
3
+ <!-- <scope>source.php</scope> -->
4
+ <content><![CDATA[
5
+/**
6
+ * The attributes that should be cast to native types.
7
+ *
8
+ * @var array
9
+ */
10
+protected $casts = [
11
+ 'date_of_birth' => 'date',
12
+];
13
+
14
+]]></content>
15
+</snippet>
Hidden.sublime-snippet
+ <tabTrigger>hidden</tabTrigger>
+ * The attributes that should be hidden for arrays.
+protected $hidden = [
+ 'password',
0 commit comments