File tree 4 files changed +20
-0
lines changed
4 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -94,6 +94,11 @@ public function namespacedName(): string
94
94
return $ this ->namespacedName ;
95
95
}
96
96
97
+ public function isNamespaced (): bool
98
+ {
99
+ return $ this ->namespace !== '' ;
100
+ }
101
+
97
102
public function namespace (): string
98
103
{
99
104
return $ this ->namespace ;
Original file line number Diff line number Diff line change @@ -80,6 +80,11 @@ public function namespacedName(): string
80
80
return $ this ->namespacedName ;
81
81
}
82
82
83
+ public function isNamespaced (): bool
84
+ {
85
+ return $ this ->namespace !== '' ;
86
+ }
87
+
83
88
public function namespace (): string
84
89
{
85
90
return $ this ->namespace ;
Original file line number Diff line number Diff line change @@ -73,6 +73,11 @@ public function namespacedName(): string
73
73
return $ this ->namespacedName ;
74
74
}
75
75
76
+ public function isNamespaced (): bool
77
+ {
78
+ return $ this ->namespace !== '' ;
79
+ }
80
+
76
81
public function namespace (): string
77
82
{
78
83
return $ this ->namespace ;
Original file line number Diff line number Diff line change @@ -73,6 +73,11 @@ public function namespacedName(): string
73
73
return $ this ->namespacedName ;
74
74
}
75
75
76
+ public function isNamespaced (): bool
77
+ {
78
+ return $ this ->namespace !== '' ;
79
+ }
80
+
76
81
public function namespace (): string
77
82
{
78
83
return $ this ->namespace ;
You can’t perform that action at this time.
0 commit comments