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\Video;
class VideoEvent extends Event
{
protected Video $video;
public function __construct(Video $video)
$this->video = $video;
}
public function getVideo(): Video
return $this->video;