public function getSurvivors($file) { $collection = new MutationCollection(); foreach ($this->getMutants($file)->getSurvivors() as $mutant) { $collection->push($mutant); } return $collection; }