Skip to content
This repository has been archived by the owner on Jul 6, 2019. It is now read-only.

Why is there no Arrays:with method? #79

Open
niclaslindberg opened this issue Dec 17, 2015 · 0 comments
Open

Why is there no Arrays:with method? #79

niclaslindberg opened this issue Dec 17, 2015 · 0 comments

Comments

@niclaslindberg
Copy link

Maybe I have misunderstood something but why is there no counterpart for the 'with' method?

I.e. invoking

$array = ["a"=>1,"b"=>2, "c"=>3];
$filtered = Arrays::with($array, "a","c");

$filtered is then equal to ["a"=>1,"c"=>3]

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant