Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Collection.php
Go to the documentation of this file.
1 <?php
8 
13 class Collection extends \Magento\Sales\Model\ResourceModel\Report\Bestsellers\Collection
14 {
20  protected $tableForPeriod = [
24  ];
25 
31  protected function getOrderedField()
32  {
33  return 'views_num';
34  }
35 }