public function getOrderItems() { return $this->hasMany(OrderItem::className(), ['item_id' => 'id'])->via('items'); }
public function getOrderItems() { return $this->hasMany(OrderItem::className(), ['order_id' => 'id']); }