mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-11 03:53:13 +00:00
32 lines
650 B
PHP
32 lines
650 B
PHP
<?php
|
|
|
|
/*
|
|
* This file is part of phrasea-4.0.
|
|
*
|
|
* (c) Alchemy <info@alchemy.fr>
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*/
|
|
|
|
namespace Alchemy\Phrasea\SearchEngine\Elastic\Mapping;
|
|
|
|
use Alchemy\Phrasea\SearchEngine\Elastic\FieldMapping;
|
|
|
|
class ComplexPropertiesMapping extends ComplexMapping
|
|
{
|
|
|
|
public function __construct($name)
|
|
{
|
|
parent::__construct($name, FieldMapping::TYPE_OBJECT);
|
|
}
|
|
|
|
/**
|
|
* @return array
|
|
*/
|
|
public function getProperties()
|
|
{
|
|
return [ 'properties' => parent::getProperties() ];
|
|
}
|
|
}
|