1<?php
2
3namespace Elastica\Processor\Traits;
4
5trait IgnoreFailureTrait
6{
7    /**
8     * Set "ignore_failure" option.
9     *
10     * @return $this
11     */
12    public function setIgnoreFailure(bool $ignoreFailure): self
13    {
14        return $this->setParam('ignore_failure', $ignoreFailure);
15    }
16}
17