* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ namespace PrestaShop\PrestaShop\Core\Grid; use PrestaShop\PrestaShop\Core\Grid\Search\SearchCriteriaInterface; /** * Interface GridFactoryInterface exposes contract for grid factory which is responsible for creating Grid instances. */ interface GridFactoryInterface { /** * Create grid with filtered data. * * @param SearchCriteriaInterface $searchCriteria * * @return GridInterface */ public function getGrid(SearchCriteriaInterface $searchCriteria); }