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