You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| Class Type | No | Strictus::instance($instanceType, $value) |
63
+
| Class Type | Yes | Strictus::instance($instanceType, $value, true) |
64
+
| Class Type | Yes | Strictus::nullableInstance($instanceType, $value) |
65
65
66
66
Once you have your typed variable created, you also have choices on how to use this.
67
67
@@ -87,7 +87,7 @@ $myString->value = 'goodbye';
87
87
88
88
Both of these forms will work for any of the types.
89
89
90
-
## Error Handling
90
+
###Error Handling
91
91
92
92
When you are using this package, the package will throw a `Strictus\Exceptions\StrictusTypeException` if you pass it a type that is not compatible with the intended conditions
0 commit comments