Add company create and update events
This commit is contained in:
		
							
								
								
									
										26
									
								
								app/Events/Common/CompanyUpdated.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								app/Events/Common/CompanyUpdated.php
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,26 @@ | ||||
| <?php | ||||
|  | ||||
| namespace App\Events\Common; | ||||
|  | ||||
| use Illuminate\Queue\SerializesModels; | ||||
|  | ||||
| class CompanyUpdated | ||||
| { | ||||
|     use SerializesModels; | ||||
|  | ||||
|     public $company; | ||||
|  | ||||
|     public $request; | ||||
|  | ||||
|     /** | ||||
|      * Create a new event instance. | ||||
|      * | ||||
|      * @param $company | ||||
|      * @param $request | ||||
|      */ | ||||
|     public function __construct($company, $request) | ||||
|     { | ||||
|         $this->company = $company; | ||||
|         $this->request = $request; | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user