class RawDocumentsSubscriber implements EventSubscriberInterface (View source)

Create a raw image and downscale it to a new image file for a better web usage.

Properties

protected $manager

Methods

__construct(EntityManager $em, Packages $packages, LoggerInterface $logger = null, EntityManager|string $imageDriver = 'gd', integer $maxPixelSize, string $rawImageSuffix = ".raw")

No description

static 
getSubscribedEvents()

No description

Details

__construct(EntityManager $em, Packages $packages, LoggerInterface $logger = null, EntityManager|string $imageDriver = 'gd', integer $maxPixelSize, string $rawImageSuffix = ".raw")

Parameters

EntityManager $em
Packages $packages
LoggerInterface $logger
EntityManager|string $imageDriver
integer $maxPixelSize
string $rawImageSuffix

static getSubscribedEvents()

onDocumentImageUploaded(FilterDocumentEvent $event)

Parameters

FilterDocumentEvent $event