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\TeamBadge;
class TeamBadgeObtained extends Event
{
protected TeamBadge $teamBadge;
public function __construct(TeamBadge $teamBadge)
$this->teamBadge = $teamBadge;
}
public function getTeamBadge(): TeamBadge
return $this->teamBadge;