public function removeDc($dc) { $this->domainComponents = array_diff($this->domainComponents, [$dc]); return $this; }