public function getTaxonomyIndex() { return $this->owner->hasMany(TaxonomyIndex::className(), ['entity_id' => $this->owner->primaryKey()[0]])->where(["entity" => $this->getEntityClass()]); }