Beta version

class RawDocumentsSubscriber implements EventSubscriberInterface

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

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

at line 55
__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

at line 66
static getSubscribedEvents()

at line 73
onDocumentImageUploaded(FilterDocumentEvent $event)

Parameters

FilterDocumentEvent $event