1$collection = collect([
2 'serial' => 'UX301', 'type' => 'screen', 'year' => 2009
3]);
4
5$intersect = $collection->intersectKey([
6 'reference' => 'UX404', 'type' => 'tab', 'year' => 2011
7]);
8
9$intersect->all();
10
11// ['type' => 'screen', 'year' => 2009]