Smile\ElasticsuiteCore\Index\Mapping\Field::getMappingPropertyConfig PHP Method

getMappingPropertyConfig() public method

    public function getMappingPropertyConfig()
    {
        $property = $this->getPropertyConfig();
        if ($this->getType() == self::FIELD_TYPE_STRING) {
            $analyzers = $this->getFieldAnalyzers();
            $property = $this->getPropertyConfig(current($analyzers));
            if (count($analyzers) > 1) {
                $property = $this->getMultiFieldMappingPropertyConfig($analyzers);
            }
        }
        return $property;
    }