event
laravel/octane
The
event
function dispatches the given
event
to its listeners:
<?php event
(new
UserRegistered
(
$user
));