/** * @return \yii\db\ActiveQuery */ public function getJoins() { return $this->hasMany(Join::className(), ['route_id' => 'id']); }