public function setUniverse(Universe $universe, $sync = true) { $this->universe = $universe; if ($sync) { $universe->addCelestialBodyTypeSpecs($this, false); } }