public function getPeople() { return $this->hasMany(People::className(), ['id' => 'people_id'])->via('moviePeople'); }
public function getPeople() { return $this->hasOne(People::className(), ['id' => 'people_id']); }
public function getPeople() { return $this->hasMany(People::className(), ['id' => 'people_id'])->via('moviePeople'); }
public function getPeople() { return $this->hasOne(People::className(), ['id' => 'people_id']); }