| 123456789101112131415161718192021222324252627282930 |
- <?php
- namespace Elastica\Processor;
- /**
- * Elastica Rename Processor.
- *
- * @author Federico Panini <fpanini@gmail.com>
- *
- * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/dot-expand-processor.html
- */
- class DotExpander extends AbstractProcessor
- {
- public function __construct(string $field)
- {
- $this->setField($field);
- }
- /**
- * Set the field.
- *
- * @param string $field
- *
- * @return $this
- */
- public function setField(string $field)
- {
- return $this->setParam('field', $field);
- }
- }
|