UserSearchInterface.php 735 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. /**
  3. * @link http://www.yiiframework.com/
  4. * @copyright Copyright (c) 2008 Yii Software LLC
  5. * @license http://www.yiiframework.com/license/
  6. */
  7. namespace yii\debug\models\search;
  8. use yii\data\DataProviderInterface;
  9. use yii\web\IdentityInterface;
  10. /**
  11. * UserSearchInterface is the interface that should be implemented by a class
  12. * providing identity information and search method.
  13. *
  14. * @author Semen Dubina <yii2debug@sam002.net>
  15. * @since 2.0.10
  16. */
  17. interface UserSearchInterface extends IdentityInterface
  18. {
  19. /**
  20. * Creates data provider instance with search query applied.
  21. * @param array $params the data array to load model.
  22. * @return DataProviderInterface
  23. */
  24. public function search($params);
  25. }