'ID', 'id_subscription' => 'Abonnement', 'id_product' => 'Produit', 'quantity' => 'Quantité', ]; } /* * Relations */ public function getProduct() { return $this->hasOne(Product::className(), ['id' => 'id_product']); } }