src/Datastructure/Sets/HashSet.php
public function containsAll($elements): bool {
        $contains = false;
        if (\is_iterable($elements)) {
            foreach ($elements as $element) {
                $contains &= $this->contains($element);
            }
        }
        return $contains;
    }
public function containsAll($elements): bool {
        $contains = false;
        if (\is_iterable($elements)) {
            foreach ($elements as $element) {
                $contains &= $this->contains($element);
            }
        }
        return $contains;
    }
public function containsAll ( $ elements ) : bool { $ contains = false ; if ( \ is_iterable ( $ elements ) ) { foreach ( $ elements as $ element ) { $ contains &= $ this -> contains ( $ element ) ; } } return $ contains ; }
Returns true if this set contains all of the elements of the specified collection.

@param $elements
@return bool
Returns true if this set contains all of the elements of the specified collection .