예제 #1
0
 function __construct(Articles $article, Commandes $commande, $salarie, $detail = null)
 {
     $this->prixHt = $article->getPrixHt();
     $this->tva = $article->getTaxe()->getTaux();
     $this->technique = $article->isTechnique();
     $this->designation = $article->getDesignation();
     $this->editable = $article->getEditable();
     $this->article = $article;
     $this->commande = $commande;
     $this->salarie = $salarie;
     $this->detail = $detail;
 }