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 492d983 commit c060a26Copy full SHA for c060a26
src/WS/Utils/Collections/CollectionFactory.php
@@ -63,6 +63,11 @@ public static function from(array $values): Collection
63
return new ArrayList($values);
64
}
65
66
+ public static function fromStrict(array $values): Collection
67
+ {
68
+ return new ArrayStrictList($values);
69
+ }
70
+
71
public static function fromIterable(iterable $iterable): Collection
72
{
73
$list = ArrayList::of();
0 commit comments