diff options
Diffstat (limited to 'vendor/ruflin/elastica/lib/Elastica/Filter/BoolNot.php')
-rw-r--r-- | vendor/ruflin/elastica/lib/Elastica/Filter/BoolNot.php | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/vendor/ruflin/elastica/lib/Elastica/Filter/BoolNot.php b/vendor/ruflin/elastica/lib/Elastica/Filter/BoolNot.php deleted file mode 100644 index 1778997b..00000000 --- a/vendor/ruflin/elastica/lib/Elastica/Filter/BoolNot.php +++ /dev/null @@ -1,43 +0,0 @@ -<?php - -namespace Elastica\Filter; - -/** - * Not Filter - * - * @category Xodoa - * @package Elastica - * @author Lee Parker, Nicolas Ruflin <spam@ruflin.com> - * @link http://www.elasticsearch.org/guide/reference/query-dsl/not-filter.html - */ -class BoolNot extends AbstractFilter -{ - /** - * Creates Not filter query - * - * @param \Elastica\Filter\AbstractFilter $filter Filter object - */ - public function __construct(AbstractFilter $filter) - { - $this->setFilter($filter); - } - - /** - * Set filter - * - * @param \Elastica\Filter\AbstractFilter $filter - * @return \Elastica\Filter\BoolNot - */ - public function setFilter(AbstractFilter $filter) - { - return $this->setParam('filter', $filter->toArray()); - } - - /** - * @return string - */ - protected function _getBaseName() - { - return 'not'; - } -} |