25 lines
		
	
	
		
			468 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			468 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| 
 | |
| namespace App\Events\Document;
 | |
| 
 | |
| use App\Abstracts\Event;
 | |
| use App\Models\Document\Document;
 | |
| 
 | |
| class DocumentReminded extends Event
 | |
| {
 | |
|     public $document;
 | |
|     public $notification;
 | |
| 
 | |
|     /**
 | |
|      * Create a new event instance.
 | |
|      *
 | |
|      * @param $document
 | |
|      * @param $notification
 | |
|      */
 | |
|     public function __construct(Document $document, string $notification)
 | |
|     {
 | |
|         $this->document = $document;
 | |
|         $this->notification = $notification;
 | |
|     }
 | |
| }
 |