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