ElasticaAdmin/Mapper/FieldToElasticaTypeMapper.php
public function map($formType)
    {
        $this->mapping = array_merge(array($formType => 'string'), $this->mapping);

        return $this->mapping[$formType];
    }
public function map($formType)
    {
        $this->mapping = array_merge(array($formType => 'string'), $this->mapping);

        return $this->mapping[$formType];
    }
public function map ( $ formType ) { $ this -> mapping = array_merge ( array ( $ formType => 'string' ) , $ this -> mapping ) ; return $ this -> mapping [ $ formType ] ; }
Returns the Elastica type linked to a form type

@param string $formType

@return string
Returns the Elastica type linked to a form type