mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-10 11:33:17 +00:00
35 lines
690 B
PHP
35 lines
690 B
PHP
<?php
|
|
|
|
namespace Alchemy\Phrasea\WorkerManager\Event;
|
|
|
|
use Symfony\Component\EventDispatcher\Event as SfEvent;
|
|
|
|
class AssetsCreationFailureEvent extends SfEvent
|
|
{
|
|
private $payload;
|
|
private $workerMessage;
|
|
private $count;
|
|
|
|
public function __construct($payload, $workerMessage, $count)
|
|
{
|
|
$this->payload = $payload;
|
|
$this->workerMessage = $workerMessage;
|
|
$this->count = $count;
|
|
}
|
|
|
|
public function getPayload()
|
|
{
|
|
return $this->payload;
|
|
}
|
|
|
|
public function getWorkerMessage()
|
|
{
|
|
return $this->workerMessage;
|
|
}
|
|
|
|
public function getCount()
|
|
{
|
|
return $this->count;
|
|
}
|
|
}
|