12345678910111213141516171819202122232425262728293031 |
- <?php
- /**
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
- */
- namespace Magento\Framework\Data;
- /**
- * Class SearchResultInterface
- */
- interface SearchResultInterface
- {
- /**
- * Retrieve collection items
- *
- * @return \Magento\Framework\DataObject[]
- */
- public function getItems();
- /**
- * Retrieve count of currently loaded items
- *
- * @return int
- */
- public function getTotalCount();
- /**
- * @return \Magento\Framework\Api\CriteriaInterface
- */
- public function getSearchCriteria();
- }
|