collect
pestphp/pest
The
collect
function creates a
collection
instance from the given value:
<?php $collection
=
collect
([
'taylor'
,
'abigail'
]);