src/Search/Framework/SearchEngineAbstract.php
public function getNormalizer($data_type)
    {
        if (!isset($this->_normalizers[$data_type])) {
            $message = 'Normalizer not attached for data type: ' . $data_type;
            throw new \InvalidArgumentException($message);
        }
        return $this->_normalizers[$data_type];
    }
public function getNormalizer($data_type)
    {
        if (!isset($this->_normalizers[$data_type])) {
            $message = 'Normalizer not attached for data type: ' . $data_type;
            throw new \InvalidArgumentException($message);
        }
        return $this->_normalizers[$data_type];
    }
public function getNormalizer ( $ data_type ) { if ( ! isset ( $ this -> _normalizers [ $ data_type ] ) ) { $ message = 'Normalizer not attached for data type: ' . $ data_type ; throw new \ InvalidArgumentException ( $ message ) ; } return $ this -> _normalizers [ $ data_type ] ; }
Returns a mormalizer that is applied to fields of the given data type.

@param string $data_type
The data type the normalizer is applied to.

@return NormalizerInterface
Returns a mormalizer that is applied to fields of the given data type .