stickerPath = $stickerPath; $this->ticketPath = $ticketPath; $this->barcodePath = $barcodePath; $this->participation = $participation; $this->customer = $customer; $this->settings = $settings; } /** * Build the message. * * @return $this */ public function build() { $participation = $this->participation; $customer = $this->customer; return $this->subject( $this->settings->name . " : Preuves de gain de " . $customer->lastname . " " . $customer->firstname )->view( 'front.basic.winning-proof-email', compact('participation', 'customer') )->attach($this->stickerPath)->attach($this->ticketPath) ->attach($this->barcodePath); } }