/** * Set commande * * @param \stdClass $commande * @return LignesCommande */ public function setCommande($commande) { $this->commande = $commande->getId(); return $this; }