ldc-web/app/Mail/Webhooks/Gitlab.php
2022-09-21 11:17:58 +00:00

40 lines
632 B
PHP

<?php
namespace App\Mail\Webhooks;
use Illuminate\Bus\Queueable;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;
class Gitlab extends Mailable
{
use Queueable;
use SerializesModels;
/**
* Mail data
*
* @var array
*/
public $data;
/**
* Create a new message instance.
*
* @param array $data
*/
public function __construct(array $data)
{
$this->data = $data;
}
/**
* Build the message.
*
* @return $this
*/
public function build()
{
return $this->text('emails.webhooks.gitlab');
}
}