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