|
Ds\Set::intersectCreates a new set by intersecting values with another set. Description
public Ds\Set Ds\Set::intersect
( Ds\Set
$set
)
Creates a new set using values common to both the current instance and another
Parameters
Return Values
The intersection of the current instance and another ExamplesExample #1 Ds\Set::intersect example
<?php The above example will output something similar to: object(Ds\Set)#3 (1) { [0]=> int(3) } |