Sleimanx2\Plastic\Map\Grammar::compileNumeric PHP Method

compileNumeric() public method

Compile a numeric map.
public compileNumeric ( Illuminate\Support\Fluent $fluent ) : array
$fluent Illuminate\Support\Fluent
return array
    public function compileNumeric(Fluent $fluent)
    {
        $map = ['type' => $fluent->type, 'coerce' => $fluent->coerce, 'boost' => $fluent->boost, 'doc_values' => $fluent->doc_values, 'ignore_malformed' => $fluent->ignore_malformed, 'include_in_all' => $fluent->include_in_all, 'index' => $fluent->index, 'null_value' => $fluent->null_value, 'precision_step' => $fluent->precision_step];
        return $this->formatMap($map);
    }