mirror of
				https://github.com/librenms/librenms.git
				synced 2024-10-07 16:52:45 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			25 lines
		
	
	
		
			462 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			462 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
 | 
						|
namespace App\Events;
 | 
						|
 | 
						|
use App\Models\User;
 | 
						|
use Illuminate\Broadcasting\InteractsWithSockets;
 | 
						|
use Illuminate\Foundation\Events\Dispatchable;
 | 
						|
use Illuminate\Queue\SerializesModels;
 | 
						|
 | 
						|
class UserCreated
 | 
						|
{
 | 
						|
    use Dispatchable, InteractsWithSockets, SerializesModels;
 | 
						|
    public $user;
 | 
						|
 | 
						|
    /**
 | 
						|
     * Create a new event instance.
 | 
						|
     *
 | 
						|
     * @param  User  $user
 | 
						|
     */
 | 
						|
    public function __construct(User $user)
 | 
						|
    {
 | 
						|
        $this->user = $user;
 | 
						|
    }
 | 
						|
}
 |