mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-12-30 16:40:28 +01:00
28 lines
627 B
PHP
28 lines
627 B
PHP
|
<?php
|
||
|
|
||
|
namespace Xentral\Modules\SuperSearch\SearchIndex\Data;
|
||
|
|
||
|
final class IndexItem
|
||
|
{
|
||
|
/** @var IndexIdentifier $identifier */
|
||
|
public $identifier;
|
||
|
|
||
|
/** @var IndexData $data */
|
||
|
public $data;
|
||
|
|
||
|
/** @var string|null $module */
|
||
|
public $module;
|
||
|
|
||
|
/**
|
||
|
* @param IndexIdentifier $identifier
|
||
|
* @param IndexData $data
|
||
|
* @param string|null $moduleName
|
||
|
*/
|
||
|
public function __construct(IndexIdentifier $identifier, IndexData $data, $moduleName = null)
|
||
|
{
|
||
|
$this->identifier = $identifier;
|
||
|
$this->data = $data;
|
||
|
$this->module = $moduleName;
|
||
|
}
|
||
|
}
|