mirror of
https://github.com/bdnugget/magento2.git
synced 2026-11-07 17:27:36 +00:00
- removed @since 2.0.0 as it is a base release - updated version in @since and @deprecated tag taking into account all patch releases
37 lines
706 B
PHP
37 lines
706 B
PHP
<?php
|
|
/**
|
|
* Copyright © Magento, Inc. All rights reserved.
|
|
* See COPYING.txt for license details.
|
|
*/
|
|
namespace Magento\Sales\Model\ResourceModel;
|
|
|
|
/**
|
|
* Sales report resource model
|
|
*
|
|
* @author Magento Core Team <core@magentocommerce.com>
|
|
*/
|
|
class Report extends \Magento\Sales\Model\ResourceModel\EntityAbstract
|
|
{
|
|
/**
|
|
* Resource initialization
|
|
*
|
|
* @return void
|
|
*/
|
|
protected function _construct()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Set main table and idField
|
|
*
|
|
* @param string $table
|
|
* @param string $field
|
|
* @return $this
|
|
*/
|
|
public function init($table, $field = 'id')
|
|
{
|
|
$this->_init($table, $field);
|
|
return $this;
|
|
}
|
|
}
|