for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Events;
use App\User;
class NewUserCreated
{
public $user;
/**
* Create a new event instance.
*
* @return void
*/
public function __construct(User $user)
$this->user = $user;
}