ConditionInterface.php 562 B

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Rule\Model\Condition;
  7. /**
  8. * @api
  9. * @since 100.0.2
  10. */
  11. interface ConditionInterface
  12. {
  13. /**
  14. * Get tables to join
  15. *
  16. * @return array
  17. */
  18. public function getTablesToJoin();
  19. /**
  20. * Get field by attribute
  21. *
  22. * @return string
  23. */
  24. public function getMappedSqlField();
  25. /**
  26. * Get argument value to bind
  27. *
  28. * @return mixed
  29. */
  30. public function getBindArgumentValue();
  31. }