$list The list to base the set on. * * @return SetInterface The new set. * * @throws Exception If problem creating. * * @psalm-suppress PossiblyUnusedMethod */ public function createSetFromList(array $list): SetInterface; }