class ExifDocumentSubscriber implements EventSubscriberInterface (View source)

Methods

__construct(EntityManager $entityManager, Packages $packages, LoggerInterface $logger = null)

No description

static 
getSubscribedEvents()

No description

onImageUploaded(FilterDocumentEvent $event)

No description

string|null
getCopyright(array $exif)

No description

string|null
getDescription(array $exif)

No description

Details

__construct(EntityManager $entityManager, Packages $packages, LoggerInterface $logger = null)

Parameters

EntityManager $entityManager
Packages $packages
LoggerInterface $logger

static getSubscribedEvents()

onImageUploaded(FilterDocumentEvent $event)

Parameters

FilterDocumentEvent $event

protected string|null getCopyright(array $exif)

Parameters

array $exif

Return Value

string|null

protected string|null getDescription(array $exif)

Parameters

array $exif

Return Value

string|null