for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace VideoGamesRecords\CoreBundle\Event;
use Symfony\Contracts\EventDispatcher\Event;
use VideoGamesRecords\CoreBundle\Entity\Player;
class PlayerEvent extends Event
{
protected Player $player;
public function __construct(Player $player)
$this->player = $player;
}
public function getPlayer(): Player
return $this->player;