RewriteInterface.php 556 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. /*
  3. * FecShop file.
  4. *
  5. * @link http://www.fecshop.com/
  6. * @copyright Copyright (c) 2016 FecShop Software LLC
  7. * @license http://www.fecshop.com/license/
  8. */
  9. namespace fecshop\services\url\rewrite;
  10. /**
  11. * @author Terry Zhao <2358269014@qq.com>
  12. * @since 1.0
  13. */
  14. interface RewriteInterface
  15. {
  16. public function getByPrimaryKey($primaryKey);
  17. public function coll($filter);
  18. public function save($one);
  19. public function remove($ids);
  20. public function find();
  21. public function findOne($where);
  22. public function newModel();
  23. }