Bool.php 691 B

123456789101112131415161718
  1. <?php
  2. namespace Elastica\Query;
  3. trigger_error('Elastica\Query\Bool is deprecated. Use BoolQuery instead. From PHP7 bool is reserved word and this class will be removed in further Elastica releases', E_USER_DEPRECATED);
  4. /**
  5. * Bool query.
  6. *
  7. * This class is for backward compatibility reason for all php < 7 versions. For PHP 7 and above use BoolQuery as Bool is reserved.
  8. *
  9. * @author Nicolas Ruflin <spam@ruflin.com>
  10. *
  11. * @deprecated Use BoolQuery instead. From PHP7 bool is reserved word and this class will be removed in further Elastica releases
  12. * @link https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-bool-query.html
  13. */
  14. class Bool extends BoolQuery
  15. {
  16. }