public function getField($attributeName)
    {
        if (isset($this->fieldNameMapping[$attributeName])) {
            $attributeName = $this->fieldNameMapping[$attributeName];
        }

        return $this->getMapping()->getField($attributeName);
    }
public function getField($attributeName)
    {
        if (isset($this->fieldNameMapping[$attributeName])) {
            $attributeName = $this->fieldNameMapping[$attributeName];
        }

        return $this->getMapping()->getField($attributeName);
    }
public function getField ( $ attributeName ) { if ( isset ( $ this -> fieldNameMapping [ $ attributeName ] ) ) { $ attributeName = $ this -> fieldNameMapping [ $ attributeName ] ; } return $ this -> getMapping ( ) -> getField ( $ attributeName ) ; }
Retrieve the mapping field for the rule attribute.

@param string $attributeName Attribute code.

@return \Smile\ElasticsuiteCore\Api\Index\Mapping\FieldInterface
Retrieve the mapping field for the rule attribute .