1<?php 2 3namespace Elastica\Processor; 4 5/** 6 * Elastica Trim Processor. 7 * 8 * @author Federico Panini <fpanini@gmail.com> 9 * 10 * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/trim-processor.html 11 */ 12class TrimProcessor extends AbstractProcessor 13{ 14 use Traits\FieldTrait; 15 use Traits\IgnoreFailureTrait; 16 use Traits\IgnoreMissingTrait; 17 18 public function __construct(string $field) 19 { 20 $this->setField($field); 21 } 22} 23