Files
Phraseanet/lib/Alchemy/Phrasea/WorkerManager/Event/ExportMailFailureEvent.php
jygaulier f2f5db3df6 Refacto queues & workers
- define queues in one unique place
- fix some admin ux
- patch conf
2021-01-07 10:39:43 +01:00

56 lines
1.2 KiB
PHP

<?php
namespace Alchemy\Phrasea\WorkerManager\Event;
use Symfony\Component\EventDispatcher\Event as SfEvent;
class ExportMailFailureEvent extends SfEvent
{
private $emitterUserId;
private $tokenValue;
private $destinationMails;
private $params;
private $workerMessage;
private $count;
public function __construct($emitterUserId, $tokenValue, $destinationMails, $params, $workerMessage, $count)
{
$this->emitterUserId = $emitterUserId;
$this->tokenValue = $tokenValue;
$this->destinationMails = $destinationMails;
$this->params = $params;
$this->workerMessage = $workerMessage;
$this->count = $count;
}
public function getEmitterUserId()
{
return $this->emitterUserId;
}
public function getTokenValue()
{
return $this->tokenValue;
}
public function getDestinationMails()
{
return $this->destinationMails;
}
public function getParams()
{
return $this->params;
}
public function getWorkerMessage()
{
return $this->workerMessage;
}
public function getCount()
{
return $this->count;
}
}