/home/sharedstore/public_html/prestashop.sharedstore.ma/src/Core/Grid/Data
Edit: /home/sharedstore/public_html/prestashop.sharedstore.ma/src/Core/Grid/Data/GridDataInterface.php (1707B)
* @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\Data;
use PrestaShop\PrestaShop\Core\Grid\Record\RecordCollectionInterface;
/**
* Interface GridDataInterface exposes contract for final grid data.
*/
interface GridDataInterface
{
/**
* Returns final grid rows ready for rendering.
*
* @return RecordCollectionInterface
*/
public function getRecords();
/**
* Returns total rows in data source.
*
* @return int
*/
public function getRecordsTotal();
/**
* Return query which was used to get rows.
*
* @return string
*/
public function getQuery();
}