SequenceInterface.php 443 B

1234567891011121314151617181920212223242526
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Framework\DB\Sequence;
  7. /**
  8. * Interface represents sequence
  9. */
  10. interface SequenceInterface
  11. {
  12. /**
  13. * Retrieve current value
  14. *
  15. * @return string
  16. */
  17. public function getCurrentValue();
  18. /**
  19. * Retrieve next value
  20. *
  21. * @return string
  22. */
  23. public function getNextValue();
  24. }