for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace App\Event;
use App\Model\UserInterface;
use Symfony\Contracts\EventDispatcher\Event;
final class UserPasswordChangeRequestEvent extends Event
{
protected $user;
public function __construct(UserInterface $user)
$this->user = $user;
}
public function getUser(): UserInterface
return $this->user;