public static function getMapping()
    {
        $instance = new static;
        $params = $instance->basicElasticParams();

        return $instance->getElasticClient()->indices()->getMapping($params);
    }
public static function getMapping()
    {
        $instance = new static;
        $params = $instance->basicElasticParams();

        return $instance->getElasticClient()->indices()->getMapping($params);
    }
public static function getMapping ( ) { $ instance = new static ; $ params = $ instance -> basicElasticParams ( ) ; return $ instance -> getElasticClient ( ) -> indices ( ) -> getMapping ( $ params ) ; }
Gets mappings.

@return array
Gets mappings .