public function addMutations($mutations) { foreach ($mutations as $mutation) { $this->mutations[] = $mutation; } }