2020-12-24 01:28:38 +03:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Events\Document;
|
|
|
|
|
|
|
|
use App\Abstracts\Event;
|
2020-12-25 22:30:59 +03:00
|
|
|
use App\Models\Document\Document;
|
2020-12-24 01:28:38 +03:00
|
|
|
|
|
|
|
class DocumentReminded extends Event
|
|
|
|
{
|
|
|
|
public $document;
|
2020-12-25 22:30:59 +03:00
|
|
|
public $notification;
|
2020-12-24 01:28:38 +03:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Create a new event instance.
|
|
|
|
*
|
|
|
|
* @param $document
|
2020-12-25 22:30:59 +03:00
|
|
|
* @param $notification
|
2020-12-24 01:28:38 +03:00
|
|
|
*/
|
2020-12-25 22:30:59 +03:00
|
|
|
public function __construct(Document $document, string $notification)
|
2020-12-24 01:28:38 +03:00
|
|
|
{
|
|
|
|
$this->document = $document;
|
2020-12-25 22:30:59 +03:00
|
|
|
$this->notification = $notification;
|
2020-12-24 01:28:38 +03:00
|
|
|
}
|
|
|
|
}
|