/** * Get registry. * * @return \yii\db\ActiveRelation */ public function getRegistry() { return $this->hasOne(Registry::className(), ['id' => 'id']); }
/** * Get object. * * @return \yii\db\ActiveRelation */ public function getObject() { return $this->hasOne(Registry::className(), ['id' => 'object_id']); }
public static function getRegistryClass() { return Registry::className(); }