diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2015-10-18 09:31:31 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2015-10-18 09:31:31 +0200 |
commit | 80f7dc77d430774192b929d780f96260066df2ee (patch) | |
tree | 102eaae7fc9ec567f2af76e96da3de2d1e83afcf /vendor/ruflin/elastica/lib/Elastica/Query/Simple.php | |
parent | cccd7bb4d819334c07e0dadaf16cbfdef31880e1 (diff) |
Update to MediaWiki 1.25.3
Diffstat (limited to 'vendor/ruflin/elastica/lib/Elastica/Query/Simple.php')
-rw-r--r-- | vendor/ruflin/elastica/lib/Elastica/Query/Simple.php | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/vendor/ruflin/elastica/lib/Elastica/Query/Simple.php b/vendor/ruflin/elastica/lib/Elastica/Query/Simple.php deleted file mode 100644 index 2448ca79..00000000 --- a/vendor/ruflin/elastica/lib/Elastica/Query/Simple.php +++ /dev/null @@ -1,55 +0,0 @@ -<?php - -namespace Elastica\Query; - -/** - * Simple query - * Pure php array query. Can be used to create any not existing type of query. - * - * @category Xodoa - * @package Elastica - * @author Nicolas Ruflin <spam@ruflin.com> - */ -class Simple extends AbstractQuery -{ - /** - * Query - * - * @var array Query - */ - protected $_query = array(); - - /** - * Constructs a query based on an array - * - * @param array $query Query array - */ - public function __construct(array $query) - { - $this->setQuery($query); - } - - /** - * Sets new query array - * - * @param array $query Query array - * @return \Elastica\Query\Simple Current object - */ - public function setQuery(array $query) - { - $this->_query = $query; - - return $this; - } - - /** - * Converts query to array - * - * @return array Query array - * @see \Elastica\Query\AbstractQuery::toArray() - */ - public function toArray() - { - return $this->_query; - } -} |