1<?php
2
3namespace Elastica\Processor\Traits;
4
5trait FieldTrait
6{
7    /**
8     * @return $this
9     */
10    public function setField(string $field): self
11    {
12        return $this->setParam('field', $field);
13    }
14}
15