public function equals(IntegrationConfig $integrationSystem) { if ($this->getOptions() != $integrationSystem->getOptions()) { return false; } if ($this->getIntegration() != $integrationSystem->getIntegration()) { return false; } return true; }