akaunting/app/Events/Document/DocumentReminded.php

25 lines
468 B
PHP
Raw Permalink Normal View History

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