File tree Expand file tree Collapse file tree 1 file changed +52
-13
lines changed Expand file tree Collapse file tree 1 file changed +52
-13
lines changed Original file line number Diff line number Diff line change 4
4
5
5
use Closure ;
6
6
use Collective \Html \HtmlFacade as HTML ;
7
- use Illuminate \Contracts \Support \Arrayable as ArrayableContract ;
7
+ use Illuminate \Contracts \Support \Arrayable ;
8
8
use Illuminate \Support \Facades \Request ;
9
9
use Illuminate \Support \Arr ;
10
10
use Illuminate \Support \Str ;
11
11
12
- /**
13
- * @property string url
14
- * @property string route
15
- * @property string title
16
- * @property string name
17
- * @property string icon
18
- * @property int parent
19
- * @property array attributes
20
- * @property bool active
21
- * @property int order
22
- */
23
- class MenuItem implements ArrayableContract
12
+ class MenuItem implements Arrayable
24
13
{
25
14
/**
26
15
* Array properties.
@@ -55,6 +44,56 @@ class MenuItem implements ArrayableContract
55
44
'hideWhen ' ,
56
45
];
57
46
47
+ /**
48
+ * @var string
49
+ */
50
+ protected $ url ;
51
+
52
+ /**
53
+ * @var string
54
+ */
55
+ protected $ route ;
56
+
57
+ /**
58
+ * @var string
59
+ */
60
+ protected $ fragment ;
61
+
62
+ /**
63
+ * @var string
64
+ */
65
+ protected $ title ;
66
+
67
+ /**
68
+ * @var string
69
+ */
70
+ protected $ name ;
71
+
72
+ /**
73
+ * @var string
74
+ */
75
+ protected $ icon ;
76
+
77
+ /**
78
+ * @var int
79
+ */
80
+ protected $ parent ;
81
+
82
+ /**
83
+ * @var array
84
+ */
85
+ protected $ attributes ;
86
+
87
+ /**
88
+ * @var bool
89
+ */
90
+ protected $ active ;
91
+
92
+ /**
93
+ * @var int
94
+ */
95
+ protected $ order ;
96
+
58
97
/**
59
98
* The hideWhen callback.
60
99
*
You can’t perform that action at this time.
0 commit comments