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

compileBoolean() public method

Compile a boolean map.
public compileBoolean ( Illuminate\Support\Fluent $fluent ) : array
$fluent Illuminate\Support\Fluent
return array
    public function compileBoolean(Fluent $fluent)
    {
        $map = ['type' => 'boolean', 'boost' => $fluent->boost, 'doc_values' => $fluent->doc_values, 'index' => $fluent->index, 'null_value' => $fluent->null_value, 'store' => $fluent->store];
        return $this->formatMap($map);
    }