eZ\Publish\Core\Search\Elasticsearch\Content\CriterionVisitorDispatcher::addVisitor PHP Method

addVisitor() public method

Adds visitor.
public addVisitor ( CriterionVisitor $visitor )
$visitor CriterionVisitor
    public function addVisitor(CriterionVisitor $visitor)
    {
        $this->visitors[] = $visitor;
    }
CriterionVisitorDispatcher