for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace MedianetDev\BackpackForm\Mail;
use Illuminate\Mail\Mailable;
class MailFormBuilderEntry extends Mailable
{
/**
* The order instance.
*/
public $dataMail;
public $view;
* Create a new message instance.
*
* @param $data
* @return void
public function __construct(string $view, array $data)
$this->dataMail = $data;
$this->view = $view;
}
* Build the message.
* @return $this
public function build()
return $this->from(config('backpack-form.email.from'))
->view($this->view);