ExpressionInterface.php 569 B

123456789101112131415161718192021
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Framework\DB\Sql;
  7. /**
  8. * Interface ExpressionInterface
  9. *
  10. * Defines interface was implemented in Zend_Db_Expr.
  11. * Interface for SQL Expressions for DB Adapter/Select.
  12. * By using this interface a developer can strictly control type for code that manages an Expression directly.
  13. */
  14. interface ExpressionInterface
  15. {
  16. /**
  17. * @return string The string of the SQL expression stored in this object.
  18. */
  19. public function __toString();
  20. }