mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-10 11:33:17 +00:00
31 lines
534 B
PHP
31 lines
534 B
PHP
<?php
|
|
|
|
namespace Alchemy\Phrasea\WorkerManager\Event;
|
|
|
|
use Symfony\Component\EventDispatcher\Event as SfEvent;
|
|
|
|
class PopulateIndexEvent extends SfEvent
|
|
{
|
|
/** @var array */
|
|
private $data;
|
|
|
|
/**
|
|
* PopulateIndexEvent constructor.
|
|
* data an array of host, port, indexName, databoxIds(array)
|
|
* @param $data
|
|
*/
|
|
public function __construct($data)
|
|
{
|
|
$this->data = $data;
|
|
}
|
|
|
|
/**
|
|
* @return array
|
|
*/
|
|
public function getData()
|
|
{
|
|
return $this->data;
|
|
}
|
|
|
|
}
|