public function getTask() { return $this->hasOne(DiscoveryTask::className(), ['id' => 'sync_event_id']); }